CVE-2026-54293: nltk Path Traversal
Vulnerability summary
CVE-2026-54293 is a high (CVSS 7.5) Path Traversal vulnerability in nltk. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 49.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 22-06-2026PublishedVulnerability first disclosed.
- 09-09-2026Last modifiedVulnerability information updated.
Description
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.0-rc1, nltk.data.load() in NLTK is vulnerable to path traversal via URL-encoded path separators and traversal segments when using the nltk: URL scheme. The unsafe-path regex check is performed before url2pathname() decodes the %xx sequences (a classic decode-after-check / TOCTOU-style flaw), allowing an attacker to bypass the protection documented in NLTK's SECURITY.md and read arbitrary files from the filesystem. While literal traversal strings such as ../../../etc/passwd are correctly blocked, encoded variants such as %2fetc%2fpasswd, %2e%2e%2f..., and ..%2f..%2f slip past the regex and are subsequently decoded into a real filesystem path. This vulnerability is fixed in 3.10.0-rc1.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
0.00 pp
From 0.63% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundNltk
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard10 products
- apache-beam-python-3.11-sdk< 2.75.0-r0
- apache-beam-python-3.12-sdk< 2.75.0-r0
- apache-beam-python-3.13-sdk< 2.75.0-r0
- label-studio< 1.23.0-r11
- nemo< 2.7.3-r15
Wolfi5 products
- open-webui< 0.11.0-r7
- py3-nltk< 3.10.0-r0
- py3.11-nltk< 3.10.0-r0
- py3.12-nltk< 3.10.0-r0
- py3.13-nltk< 3.10.0-r0
Mageia2 products
- python-nltk< 3.9.4-1.1.mga10
- python-nltk< 3.9.4-1.1.mga9
Debian1 product
- nltkAll versions (No fix recorded) | < 3.10.0-1
Nltk1 product
- nltk< 3.10.0-rc1 | < 3.10.0
Opensuse1 product
- python-nltk&distro=openSUSE Tumbleweed< 3.10.0rc1-1.1
PyPI1 product
- nltk< 3.10.0
Ubuntu1 product
- nltkAll versions (No fix recorded)
8 vendors · 22 products
References
19 links- github.com/nltk/nltk/security/advisories/GHSA-p4gq-832x-fm9vX Refsource CONFIRMAdvisoryWEBEVIDENCEREPORTExploitVendor Advisory
Show all 19 references
- github.com/nltk/nltkPACKAGE