NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside… (CVE-2026-70626)
NLTK versions prior to 3.9.4 have a symlink escape vulnerability in the CorpusReader.open() function. This flaw allows local attackers to read arbitrary files outside the intended corpus root directory by exploiting insufficient path validation that does not resolve symbolic links. The vulnerability is due to lexical path checks that fail to prevent symlink traversal.
AI Analysis
Technical Summary
The Natural Language Toolkit (NLTK) before version 3.9.4 contains a vulnerability (CVE-2026-70626) in the CorpusReader.open() method. The vulnerability arises because the path validation performed is lexical and does not resolve symbolic links, allowing an attacker with local access to create symlinks inside the corpus root directory that point to files outside this boundary. This enables unauthorized reading of arbitrary files on the system. The CVSS 3.1 score is 6.2, reflecting a high severity with local attack vector, low complexity, no privileges required, and no user interaction needed. The vulnerability is classified under CWE-59 (Improper Link Resolution). No known exploits in the wild have been reported, and no patch links or vendor advisories are currently available.
Potential Impact
Local attackers can read arbitrary files outside the corpus root directory, potentially exposing sensitive information. The vulnerability does not allow modification or denial of service but compromises confidentiality. Since no privileges are required and no user interaction is needed, the risk is elevated for local users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict local user access to trusted users only and avoid placing untrusted symlinks in corpus directories. Monitor for vendor updates to apply an official patch once released.
NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside… (CVE-2026-70626)
Description
NLTK versions prior to 3.9.4 have a symlink escape vulnerability in the CorpusReader.open() function. This flaw allows local attackers to read arbitrary files outside the intended corpus root directory by exploiting insufficient path validation that does not resolve symbolic links. The vulnerability is due to lexical path checks that fail to prevent symlink traversal.
CVSS v3.1
Score 6.2medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Natural Language Toolkit (NLTK) before version 3.9.4 contains a vulnerability (CVE-2026-70626) in the CorpusReader.open() method. The vulnerability arises because the path validation performed is lexical and does not resolve symbolic links, allowing an attacker with local access to create symlinks inside the corpus root directory that point to files outside this boundary. This enables unauthorized reading of arbitrary files on the system. The CVSS 3.1 score is 6.2, reflecting a high severity with local attack vector, low complexity, no privileges required, and no user interaction needed. The vulnerability is classified under CWE-59 (Improper Link Resolution). No known exploits in the wild have been reported, and no patch links or vendor advisories are currently available.
Potential Impact
Local attackers can read arbitrary files outside the corpus root directory, potentially exposing sensitive information. The vulnerability does not allow modification or denial of service but compromises confidentiality. Since no privileges are required and no user interaction is needed, the risk is elevated for local users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict local user access to trusted users only and avoid placing untrusted symlinks in corpus directories. Monitor for vendor updates to apply an official patch once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8h9m-22mv-qv5r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-70626"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a8a27f6acd9273b499bc947
Added to database: 08/22/2026, 22:51:34 UTC
Last enriched: 08/22/2026, 22:53:31 UTC
Last updated: 08/23/2026, 01:46:03 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.