CVE-2026-81726
NLTK through 3.10.3 Path Traversal via Model-Artifact APIs
Also known as GHSA-8mgp-746c-j5xp, PYSEC-2026-3740
Mitigation
- Upgrade nltk to one of 3.10.4, 3.10.3 (or later in the same release line).
Who should check
- Projects that depend on PyPI package nltk (< 3.10.4)
- Anyone running nltk <= 3.10.3
Vulnerability facts
- Affected
- nltk < 3.10.4
- Fixed in
- 3.10.4, 3.10.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- CWE
- CWE-73
- Modified
Description
NLTK through 3.10.3 contains a path traversal vulnerability in model-artifact APIs that bypass pathsec enforcement by using raw file operations on caller-controlled paths. Attackers can read or write files outside allowed sandbox roots through TransitionParser, AveragedPerceptron, PerceptronTagger, and maxent parameter APIs when pathsec is enabled.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-81726. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-81726.md Affected: nltk < 3.10.4 Fixed in: 3.10.4, 3.10.3 Steps: 1. Search this machine and project for nltk (PyPI), nltk: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/nltk/nltk/pull/3757
- https://github.com/nltk/nltk/pull/3759
- https://github.com/nltk/nltk/pull/3813
- https://github.com/nltk/nltk/commit/2a92b71827d754ae8920261e7ed0c4bb283ab2d7
- https://github.com/nltk/nltk/commit/a44a7af69bca87e92d9c4a701fcbbe4512e8d450
- https://github.com/nltk/nltk/commit/cbc98458b43de5f792f0382583c16df39e5c5117
FAQ
Is CVE-2026-81726 being exploited?
There is no confirmed exploitation: CVE-2026-81726 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-81726?
High: CVSS 8.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-81726?
nltk < 3.10.4.
Is there a fix for CVE-2026-81726?
Yes. Fixed in 3.10.4, 3.10.3. Upgrade nltk to one of 3.10.4, 3.10.3 (or later in the same release line).
How do I check if I'm affected by CVE-2026-81726?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.