Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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)

0
High
Published: 08/22/2026 (08/22/2026, 15:31:04 UTC)
Source: GCVE Database

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

nltk
pkg:pypi/nltk
Affected versions
<3.9.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/22/2026, 22:53:31 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses