Vulnerability GHSA-68j8-pq59-fqgm

High Risk
HIGH RISK
CVSS Score: 8.6
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
8 months ago
March 04, 2026 at 09:32 PM UTC
NLTK has a Path Traversal issue
0.8 - 3.9.2
0.8 - 3.9.2

Summary

NLTK has a Path Traversal issue

Details

A vulnerability in NLTK versions up to and including 3.9.2 allows arbitrary file read via path traversal in multiple CorpusReader classes, including WordListCorpusReader, TaggedCorpusReader, and BracketParseCorpusReader. These classes fail to properly sanitize or validate file paths, enabling attackers to traverse directories and access sensitive files on the server. This issue is particularly critical in scenarios where user-controlled file inputs are processed, such as in machine learning APIs, chatbots, or NLP pipelines. Exploitation of this vulnerability can lead to unauthorized access to sensitive files, including system files, SSH private keys, and API tokens, and may potentially escalate to remote code execution when combined with other vulnerabilities.

Impacted packages

Timeline

Published
8 months ago
March 04, 2026 at 09:32 PM UTC
Fixed (3.9.3)
8 months ago
February 24, 2026 at 12:05 PM UTC
Last Modified
7 hours ago
November 04, 2026 at 03:30 AM UTC