7.5

CVE-2026-54293: nltk Path Traversal

CVSS: 7.5v3.1HighModified
AliasesMGASA-2026-0281GHSA-p4gq-832x-fm9vPYSEC-2026-2078
Published 22-06-2026Last modified 09-09-2026

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.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.63%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 22-06-2026
    PublishedVulnerability first disclosed.
  2. 09-09-2026
    Last 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

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

19-09-202619-10-2026
EPSS score
0.63%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Nltk

    Maturity: poc

Weaknesses

CWE · root cause

Affected 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
Show all 19 references