Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-33236NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite
High 8.1
In plain English
A high-severity path traversal in nltk from nltk. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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. 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nltk | no fix listed | DEBIAN-CVE-2026-33236 |
| Debian:13 | nltk | no fix listed | DEBIAN-CVE-2026-33236 |
| Debian:14 | nltk | 3.10.0-1 | DEBIAN-CVE-2026-33236 |
| PyPI | nltk | 3.9.4 | PYSEC-2026-2237 |
| PyPI | nltk | 3.9.4 | GHSA-469j-vmhf-r6v7 |
| Ubuntu:25.10 | nltk | no fix listed | UBUNTU-CVE-2026-33236 |
| Ubuntu:26.10 | nltk | no fix listed | UBUNTU-CVE-2026-33236 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
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://access.redhat.com/security/cve/CVE-2026-33236 vdb-entry, x_refsource_REDHAT
- RHBZ#2449824 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33236.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:10184 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42644 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19712 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37275 vendor-advisory, x_refsource_REDHAT