{"id":"CVE-2026-33236","published":"2026-03-20T22:47:10Z","modified":"2026-07-21T12:05:14Z","title":"NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00672,"percentile":0.53024,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-469j-vmhf-r6v7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nltk/nltk/commit/89fe2ec2c6bae6e2e7a46dad65cc34231976ed8a","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33236","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2449824","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33236.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42644","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19712","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37275","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":10.6},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["<= 3.9.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-23T16:46:32.428625Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.9.4"],"patched":["3.9.4"],"from":["GHSA-469j-vmhf-r6v7","PYSEC-2026-2237"],"provenance":"source"}],"summary":{"text":"The NLTK (Natural Language Toolkit) Python package's downloader does not validate the subdir and id attributes read from remote XML index files, a path traversal flaw present in version 3.9.3 and earlier. An attacker who controls the remote index server and can get a user to trigger a download can use traversal sequences such as ../ to create directories, create files, or overwrite arbitrary files on the user's system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:13Z"},"euvd":{"id":"EUVD-2026-13887","exploited":false,"provenance":"source"}}