
CVE catalog
CVE-2026-54293
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.lo
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.63% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nltk | sid | 3.10.3-1 | fixed |
| Debian | nltk | forky | 3.10.3-1 | fixed |
| Debian | nltk | trixie | 3.9.1-2 | vulnerable |
| Debian | nltk | bookworm | 3.8-1 | vulnerable |
| Cpe | nltk | Not reported | Not reported | vulnerable |
| Cpe | nltk | Not reported | 3.10.0 | fixed |
| PyPI | nltk | Not reported | 3.10.0 | fixed |
| Cpe | nltk | Not reported | 3.10.0 | fixed |
| Opensuse | python-nltk | tumbleweed | 3.10.0rc1-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nltk | source | sid | 3.10.0-1 | not yet assigned | Not reported | [1141500] |
| Debian | nltk | source | forky | 3.10.0-1 | not yet assigned | Not reported | [1141500] |
| Debian | nltk | source | trixie | (unfixed) | not yet assigned | Not reported | [1141500] |
| Debian | nltk | source | bookworm | (unfixed) | not yet assigned | Not reported | [1141500] |
| Cpe | nltk | cpe | Not reported | 3.10.0 | Not reported | Not reported | Not reported |
| PyPI | nltk | PyPI | Not reported | 3.10.0 | Not reported | GHSA-P4GQ-832X-FM9V | Not reported |
| Cpe | nltk | cpe | Not reported | 3.10.0 | Not reported | NVD-CVE-2026-54293 | Not reported |
| Opensuse | python-nltk | rpm | tumbleweed | 3.10.0rc1-1.1 | Not reported | OPENSUSE-SU-2026:11098-1 | Not reported |
Notes
[trixie] nltk: Minor issue [bookworm] nltk: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-nltk]Affected
Source package: [nltk]
Details (2)
3.8-1· all · bookwormAffected
nvd · nltk · debian · bookworm; nvd · nltk · debian · 12
3.8-1· all · bookwormAffected
nvd · nltk · debian · bookworm; nvd · nltk · debian · 12
[Debian 13 (Trixie)]
- [python3-nltk]Affected
Source package: [nltk]
Details (2)
3.9.1-2· all · trixieAffected
nvd · nltk · debian · 13
3.9.1-2· all · trixieAffected
nvd · nltk · debian · 13
[openSUSE Tumbleweed]
- [python313-nltk]Unknown
Source package: [python-nltk]
Details (1)
3.10.3-1.1· noarch · tumbleweedUnknown · Fixed:
3.10.0rc1-1.1Version impact unknown
nvd · python-nltk · opensuse · tumbleweed
- [python314-nltk]Unknown
Source package: [python-nltk]
Details (1)
3.10.3-1.1· noarch · tumbleweedUnknown · Fixed:
3.10.0rc1-1.1Version impact unknown
nvd · python-nltk · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11098-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-54293]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-54293]
- [https://osv.dev/vulnerability/GHSA-p4gq-832x-fm9v]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11098-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-54293]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54293.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]