CVE-2026-54293
published high CVSS 3.1 · 7.5NLTK: URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File Read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk< 3.10.0-rc1 | Affected | Not stated | GitHub_M |
| Red Hat | — | rhoai/odh-llama-stack-core-rhel9Red Hat OpenShift AI 2.25 · 1783701598 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-ta-lmes-job-rhel9Red Hat OpenShift AI 2.25 · 1787330903 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-llama-stack-core-rhel9Red Hat OpenShift AI 3.4 · 1786635926 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-nltkaarch64 | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-nltkppc64le | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-nltks390x | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-nltkx86_64 | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073459 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-trustyai-nemo-guardrails-server-rhel9Red Hat OpenShift AI 3.4 · 1787330585 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9Exploit Intelligence | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-ocp-rag-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-service-api-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/lightspeed-chatbot-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkaarch64 | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkppc64le | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltks390x | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkx86_64 | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltkaarch64 | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltkppc64le | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltks390x | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltkx86_64 | Advisory build | 3.10.0rc1-1.1 | OPENSUSE-SU-2026:11098-1 |
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.
A flaw was found in NLTK (Natural Language Toolkit). The `nltk.data.load()` function is vulnerable to path traversal when processing specially crafted `nltk:` URLs. An attacker can exploit a decode-after-check flaw, where URL-encoded path separators and traversal segments bypass security checks. This allows the attacker to read arbitrary files from the filesystem, leading to information disclosure.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk | < 3.10.0-rc1 (affected) | GitHub_M · cna |
| Red Hat | Red Hat OpenShift AI 2.25 | 1783701598 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1787330903 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1786635926 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073459 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787330585 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Exploit Intelligence | Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
8- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/errata/RHSA-2026:65126
- https://access.redhat.com/security/cve/CVE-2026-54293
- RHBZ#2491486 https://bugzilla.redhat.com/show_bug.cgi?id=2491486
- https://github.com/nltk/nltk/pull/3575
- https://github.com/nltk/nltk/security/advisories/GHSA-p4gq-832x-fm9v
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54293.json
Provider assertions
3GitHub_M · cna
NLTK: URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File Read
redhat-SADP · adp
nltk: NLTK: Information Disclosure via Path Traversal in `nltk.data.load()`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eef62cca15ff33efba181a9e35689e6dc6a33d53ab2c8582e95a5dc032565b40
- Ingested
- 23 Sep 2026, 09:20:18 UTC
- Source record
- Official CVE record