CVE-2026-33236
NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite
Reported by github_m · Published March 20, 2026
nltk is fixed in 3.9.4 and 3.9.2 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nltk | PyPI | 3.9.4, 3.9.2 |
| py3-nltk | Chainguard | 3.9.4-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk | <= 3.9.3 |
| Red Hat | Lightspeed Core | |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| Red Hat | Red Hat OpenShift AI 2.25 | 1776243238 |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | OpenShift Lightspeed | |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| PyPI | nltk | 0 |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| Red Hat | Red Hat OpenShift AI 3.3 | 1778262893 |
| chainguard | py3-nltk | 0 |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| Red Hat | Lightspeed Core | |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| Red Hat | Red Hat OpenShift AI 2.25 | 1783091175 |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| Red Hat | Red Hat OpenShift AI 2.25 | 1776319185 |
| wolfi | py3-nltk | 0 |
…and 32 more
Timeline
- Mar 19, 2026 CVE Published
- Mar 20, 2026 PoC Published (4 in total, the first dated here)
- Mar 21, 2026 EPSS Score (30 in total, the first dated here)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 29, 2026 Security Advisory (5 in total, the first dated here)
- Jul 10, 2026 Distribution Patch (4 in total, the first dated here)
- Jul 21, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-33236
vulnetix vdb fixes CVE-2026-33236
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-33236/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/nltk/nltk/security/advisories/GHSA-469j-vmhf-r6v7 x_refsource_CONFIRM
- https://github.com/nltk/nltk/commit/89fe2ec2c6bae6e2e7a46dad65cc34231976ed8a x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-33236 advisory
- https://github.com/advisories/GHSA-469j-vmhf-r6v7 advisory
- https://github.com/nltk/nltk url
- https://access.redhat.com/security/cve/CVE-2026-33236 vdb
- RHBZ#2449824 issue
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33236.json url
- https://access.redhat.com/errata/RHSA-2026:10184 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42644 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19712 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:37275 vendor-advisory