CVE-2026-65915: NLTK before 3.10.0 Arbitrary File Read via FileSystemPathPointer

Published Aug 22, 2026
·
Updated

NLTK versions before 3.10.0 contain a logic bug in FileSystemPathPointer.open() where the sandbox validation check compares a normalized path against itself, making the security check permanently inert. Attackers can pass file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user, including credentials and configuration files.

Affected Software

1 affected component
nltk nltk<3.10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nltk to a version that resolves this vulnerability.

    Fixed in 3.10.0
  2. Compensating control

    Prevent untrusted users/attackers from controlling the argument passed to nltk.data.load() (e.g., ensure file paths/URIs used by nltk.data.load() are not attacker-controlled, since file:// URLs can enable arbitrary file reads).

Event History

Aug 22, 2026
CVE Published
via MITRE·02:12 PM
Data Sourced
via MITRE·02:12 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness
Aug 19, 58611
Event
via NVD·11:50 PM

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using NLTK versions before 3.10.0 are exposed when untrusted input can influence values passed to nltk.data.load(). The impact is limited to files readable by the account running the affected process.

2

What does an attacker need to exploit the flaw?

An attacker needs the ability to supply a file:// URL to nltk.data.load(). No user interaction is required, but the attacker must be able to influence that load target through the application.

3

Are confidentiality impacts limited to NLTK data files?

No. A successful exploit can read arbitrary files accessible to the process user, including credential and configuration files; the issue does not provide integrity or availability impact in the supplied assessment.

4

What should be done if upgrading is not immediately possible?

Do not allow untrusted input to reach nltk.data.load(), particularly file:// URLs. Run affected processes with least-privilege filesystem access so sensitive files are not readable by the process account.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203