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

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannltksid3.10.3-1fixed
Debiannltkforky3.10.3-1fixed
Debiannltktrixie3.9.1-2vulnerable
Debiannltkbookworm3.8-1vulnerable
CpenltkNot reportedNot reportedvulnerable
CpenltkNot reported3.10.0fixed
PyPInltkNot reported3.10.0fixed
CpenltkNot reported3.10.0fixed
Opensusepython-nltktumbleweed3.10.0rc1-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannltksourcesid3.10.0-1not yet assignedNot reported[1141500]
Debiannltksourceforky3.10.0-1not yet assignedNot reported[1141500]
Debiannltksourcetrixie(unfixed)not yet assignedNot reported[1141500]
Debiannltksourcebookworm(unfixed)not yet assignedNot reported[1141500]
CpenltkcpeNot reported3.10.0Not reportedNot reportedNot reported
PyPInltkPyPINot reported3.10.0Not reportedGHSA-P4GQ-832X-FM9VNot reported
CpenltkcpeNot reported3.10.0Not reportedNVD-CVE-2026-54293Not reported
Opensusepython-nltkrpmtumbleweed3.10.0rc1-1.1Not reportedOPENSUSE-SU-2026:11098-1Not reported

[Debian bug #1141500]

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 · bookworm

      Affected

      nvd · nltk · debian · bookworm; nvd · nltk · debian · 12

    • 3.8-1 · all · bookworm

      Affected

      nvd · nltk · debian · bookworm; nvd · nltk · debian · 12

[Debian 13 (Trixie)]

  • [python3-nltk]Affected

    Source package: [nltk]

    Details (2)
    • 3.9.1-2 · all · trixie

      Affected

      nvd · nltk · debian · 13

    • 3.9.1-2 · all · trixie

      Affected

      nvd · nltk · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-nltk]

    Details (1)
    • 3.10.3-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.10.0rc1-1.1

      Version impact unknown

      nvd · python-nltk · opensuse · tumbleweed

  • Source package: [python-nltk]

    Details (1)
    • 3.10.3-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.10.0rc1-1.1

      Version impact unknown

      nvd · python-nltk · opensuse · tumbleweed

Observed:

References