Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-54293

nltk: NLTK: Information Disclosure via Path Traversal in `nltk.data.load()`

Overview

Published
22 Jun 2026
Modified
9 Sep 2026
High CVE
1 Registry packages
11 OS packages
6 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness: CWE-22

Affected packages · 1

Packages affected by CVE-2026-54293
EcosystemPackageVulnerableFixed in
PyPI nltk <3.10.0 3.10.0

Open a package to see all its vulnerabilities.

Operating systems · 14 fixes

chainguard 1 release · 5 packages

fixed 5
open-webui label-studio nemo apache-beam-python-3-11-sdk py3-nltk
chainguard fixes for CVE-2026-54293
ReleasePackageFixed in
open-webui 0.11.0-r7
label-studio 1.23.0-r11
nemo 2.7.3-r15
apache-beam-python-3-11-sdk +2 2.75.0-r0
py3-nltk 3.10.0-r0

debian 4 releases · 1 package

affected 3 fixed 1
nltk
debian fixes for CVE-2026-54293
ReleasePackageFixed in
11 nltk affected
12 nltk affected
13 nltk affected
14 nltk 3.10.0-1

echo 1 release · 1 package

affected 1
nltk
echo fixes for CVE-2026-54293
ReleasePackageFixed in
nltk affected

minimos 1 release · 1 package

fixed 1
label-studio
minimos fixes for CVE-2026-54293
ReleasePackageFixed in
label-studio 1.23.1-r0

openSUSE 1 release · 1 package

fixed 1
python311-nltk
openSUSE fixes for CVE-2026-54293
ReleasePackageFixed inAdvisory
Tumbleweed python311-nltk +2 3.10.0rc1-1.1 openSUSE-SU-2026:11098-1

wolfi 1 release · 2 packages

fixed 2
open-webui py3-nltk
wolfi fixes for CVE-2026-54293
ReleasePackageFixed in
open-webui 0.11.0-r7
py3-nltk 3.10.0-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.