Approved changes feed: RSS · Atom

cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorNltk (37e02836-7251-5a5f-b4f2-64bd01cb4eb0)
ProductNltk (5005d80c-7610-5045-90f1-24d304e11ee2)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/nltk purl2cpe 2026-06-01 10:12:14.614752
pkg:deb/ubuntu/nltk purl2cpe 2026-06-01 10:12:14.614753
pkg:docker/floydhub/nltk purl2cpe 2026-06-01 10:12:14.614755
pkg:github/nltk/nltk purl2cpe 2026-06-01 10:12:14.614756
pkg:gitlab/kalilinux/nltk purl2cpe 2026-06-01 10:12:14.614758
pkg:pypi/nltk purl2cpe 2026-06-01 10:12:14.614759
pkg:rpm/fedora/python-nltk purl2cpe 2026-06-01 10:12:14.614760
pkg:rpm/opensuse/python-nltk purl2cpe 2026-06-01 10:12:14.614762

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-54293 vulnerable 2026-07-29 01:00:27.683481 NLTK: URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File Read
HIGH (7.5)
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.
Published: 2026-06-22T17:25:05.611Z
Updated: 2026-09-09T12:04:56.577Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-33236 vulnerable 2026-06-08 07:59:09.398915 NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite
HIGH (8.1)
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.
Published: 2026-03-20T22:47:10.308Z
Updated: 2026-07-21T12:05:14.128Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-33231 vulnerable 2026-06-08 07:59:09.395820 NLTK has unauthenticated remote shutdown in nltk.app.wordnet_app
HIGH (7.5)
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, `nltk.app.wordnet_app` allows unauthenticated remote shutdown of the local WordNet Browser HTTP server when it is started in its default mode. A simple `GET /SHUTDOWN%20THE%20SERVER` request causes the process to terminate immediately via `os._exit(0)`, resulting in a denial of service. Commit bbaae83db86a0f49e00f5b0db44a7254c268de9b patches the issue.
Published: 2026-03-20T22:45:40.784Z
Updated: 2026-09-09T12:04:46.397Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-33230 vulnerable 2026-06-08 07:59:09.395401 nltk Vulnerable to Cross-site Scripting
MEDIUM (6.1)
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, `nltk.app.wordnet_app` contains a reflected cross-site scripting issue in the `lookup_...` route. A crafted `lookup_<payload>` URL can inject arbitrary HTML/JavaScript into the response page because attacker-controlled `word` data is reflected into HTML without escaping. This impacts users running the local WordNet Browser server and can lead to script execution in the browser origin of that application. Commit 1c3f799607eeb088cab2491dcf806ae83c29ad8f fixes the issue.
Published: 2026-03-20T22:43:39.621Z
Updated: 2026-03-24T02:07:12.001Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-0848 vulnerable 2026-06-08 07:47:13.325868 Arbitrary Code Execution in NLTK StanfordSegmenter via Untrusted JAR Loading
CRITICAL (10)
NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.
Published: 2026-03-05T20:48:05.364Z
Updated: 2026-03-06T16:31:01.105Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-0847 vulnerable 2026-06-08 07:47:13.325464 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-14009 vulnerable 2026-06-08 07:06:33.379183 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-39705 vulnerable 2026-06-08 06:41:51.427610 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-43854 vulnerable 2026-06-08 05:36:44.450192 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-3842 vulnerable 2026-06-08 05:33:54.417314 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-3828 vulnerable 2026-06-08 05:33:54.391478 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-14751 vulnerable 2026-06-08 05:12:55.975101 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.