CVE-2026-65915
Received Received - Intake

NLTK Path Traversal Vulnerability Before 3.10.0

Vulnerability report for CVE-2026-65915, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-22

Last updated on: 2026-08-22

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-22
Last Modified
2026-08-22
Generated
2026-08-22
AI Q&A
2026-08-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
nltk nltk to 3.10.0 (exc)
nltk nltk 3.9.3

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-65915 is a logic bug in NLTK versions before 3.10.0 where the FileSystemPathPointer.open() method's sandbox validation fails. The check compares a normalized path against itself, always returning true, which disables the security mechanism. Attackers can exploit this by passing malicious file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user.

Detection Guidance

Check NLTK version with pip show nltk. If version is below 3.10.0, the system is vulnerable. Inspect code using nltk.data.load() or nltk.data.find() for user-controlled input handling.

Impact Analysis

This vulnerability allows attackers to read sensitive files on your system, including credentials and configuration files, if your application uses NLTK and accepts user-controlled input for nltk.data.load() or nltk.data.find(). This could lead to data breaches, unauthorized access, or further exploitation of your system.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection principles or HIPAA's security requirements for protected health information. Organizations may face legal penalties, reputational damage, and loss of trust if such breaches occur due to this flaw.

Mitigation Strategies

Upgrade NLTK to version 3.10.0 or later immediately. Review and restrict user input to nltk.data.load() and nltk.data.find() functions. Implement path validation using os.path.commonpath() against permitted directories.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-65915. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart