cve.bz

CVE-2026-33236 nltk nltk: Path traversal

8.1 highExploit referenceEPSS 0.7%Fix available

High (8.1) in nltk nltk. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in nltk 3.9.4.

On this page
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. In versions 3.9.3 and prior, the NLTK downloader does not validate the `subdir` and `id` attributes when processing remote XML index files. Attackers can control a remote XML index server to provide malicious values containing path traversal sequences (such as `../`), which can lead to arbitrary directory creation, arbitrary file creation, and arbitrary file overwrite. Commit 89fe2ec2c6bae6e2e7a46dad65cc34231976ed8a patches the issue.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-03-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-33236 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33236?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33236?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-33236 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nltk:nltkthrough 3.9.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-469j-vmhf-r6v7PyPInltk<3.9.43.9.4
PYSEC-2026-2237PyPInltk<3.9.43.9.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13nltkno fix listedDEBIAN-CVE-2026-33236
Debian14nltk3.10.0-1DEBIAN-CVE-2026-33236
Ubuntu25.10, 26.10nltkno fix listedUBUNTU-CVE-2026-33236
UbuntuPro:14.04:LTSnltk2.0~b9-0ubuntu4.1~esm6UBUNTU-CVE-2026-33236
UbuntuPro:16.04:LTSnltk3.1-1ubuntu0.1+esm4UBUNTU-CVE-2026-33236
UbuntuPro:18.04:LTSnltk3.2.5-1ubuntu0.1+esm4UBUNTU-CVE-2026-33236
UbuntuPro:20.04:LTSnltk3.4.5-2ubuntu0.1~esm4UBUNTU-CVE-2026-33236
UbuntuPro:22.04:LTSnltk3.7-1ubuntu0.1~esm2UBUNTU-CVE-2026-33236
UbuntuPro:24.04:LTSnltk3.8.1-1ubuntu0.1~esm2UBUNTU-CVE-2026-33236
UbuntuPro:26.04:LTSnltk3.9.2-1ubuntu0.1~esm2UBUNTU-CVE-2026-33236

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

IMPORTANT: This flaw in NLTK allows for arbitrary file and directory creation or overwrite due to a path traversal vulnerability in its downloader. An attacker controlling a malicious XML index server could exploit this by providing specially crafted `subdir` and `id` attributes. Red Hat products utilizing NLTK, such as components within Red Hat Ansible Automation Platform, Lightspeed Core, OpenShift Lightspeed, and Red Hat OpenShift AI, are affected if configured to use untrusted remote XML index servers.

Red Hat's mitigation

To mitigate this issue, ensure that any applications utilizing the NLTK downloader are configured to only interact with trusted XML index servers. Restrict network access for the application using NLTK to prevent connections to untrusted external resources. This operational control reduces the risk of an attacker controlling a malicious server to exploit the path traversal vulnerability. A service restart or reload may be required for network configuration changes to take effect.

ProductPackageStateAdvisory
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1776243238Fixed 2026-04-23RHSA-2026:10184
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1776319185Fixed 2026-04-23RHSA-2026:10184
Red Hat OpenShift AI 2.25rhoai/odh-ta-lmes-job-rhel9:1783091175Fixed 2026-07-21RHSA-2026:42644
Red Hat OpenShift AI 3.3rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1778262893Fixed 2026-05-20RHSA-2026:19712
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1778263054Fixed 2026-05-20RHSA-2026:19712
Red Hat OpenShift AI 3.3rhoai/odh-trustyai-nemo-guardrails-server-rhel9:1782471606Fixed 2026-07-09RHSA-2026:37275
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Will not fix
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-minimal-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-minimal-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-supported-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-supported-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-supported-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-supported-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8Not affected
21 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-33236.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON