CVE-2026-63312

7.5

NLTK · nltk

A path traversal vulnerability in the NLTK StreamBackedCorpusView allows unauthenticated attackers to perform arbitrary file reads.

Executive summary

A path traversal vulnerability in NLTK versions prior to 3.10.0 allows unauthenticated remote attackers to read sensitive files from the host system.

Vulnerability

The software fails to properly sanitize input paths within the StreamBackedCorpusView component, leading to a path traversal vulnerability. This flaw allows an unauthenticated attacker to access arbitrary files on the underlying filesystem.

Business impact

Successful exploitation of this path traversal vulnerability could lead to the unauthorized disclosure of sensitive configuration files, source code, or system credentials. Given the CVSS score of 7.5, this high severity vulnerability poses a significant risk to data confidentiality and could facilitate further exploitation of the environment.

Remediation

Immediate Action: Upgrade the NLTK package to version 3.10.0 or later to incorporate the necessary security patches.

Proactive Monitoring: Monitor filesystem access logs for unexpected read attempts or access to system files originating from the application process.

Compensating Controls: If patching is delayed, ensure the application runs with the least privilege necessary to restrict access to sensitive directories outside of the intended corpus scope.

Exploitation status

Public Exploit Available: No (exploit_available: false)

Analyst recommendation

This vulnerability presents a high risk to organizational data security due to the potential for unauthorized file access. Security teams should prioritize updating the NLTK library to version 3.10.0 immediately to eliminate this attack vector.

More NLTK CVEs