CVE-2026-79676: NLTK · Corpus readers follow symlinks outside trusted roots despite pathsec enforcement
Affects gptlineSource GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 1.0.8_23 soon.
Data as of 1 Nov 2026, 22:58 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.8_23
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.
What to do
Upgrade gptline to 1.0.8_23.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewgptlinepkg:brew/gptlineOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available that enforces path validation and preserves the trusted-root boundary by replacing raw open() calls with nltk.pathsec.open() or equivalent helpers that validate paths with required_root scoping. Users should upgrade to the patched versions of NLTK corpus readers once available. Until patched, avoid processing attacker-controlled corpora or symlinks inside trusted corpus roots. The vendor advisory confirms the fix and recommends applying it to all corpus readers to prevent symlink escapes.
Description
Several corpus readers in NLTK (Natural Language Toolkit) improperly handle symlinked files, allowing path traversal and symlink boundary bypass. These readers reopen paths derived from trusted roots using raw open() calls instead of the symlink-aware nltk.pathsec.open(), enabling attackers to disclose files outside the trusted corpus root. The issue affects specific readers such as ipipan, crubadan, and lin in versions 3.9.4 and 3.10.0-rc2. A fix is available that enforces path validation and trusted-root boundaries end to end.
References
- github.com/nltk/nltk/security/advisories/GHSA-p4rw-rvv2-7xwr (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-79676 (opens in a new tab)
- github.com/nltk/nltk/commit/10d34b3f4fe3fec74b76527a409eb0acbac2e8ab (opens in a new tab)
- github.com/nltk/nltk (opens in a new tab)
- github.com/nltk/nltk/releases/tag/v3.10.3 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3737.yaml (opens in a new tab)
- vulncheck.com/advisories/nltk-before-path-traversal-via-symlink-bypass (opens in a new tab)