{"id":"CVE-2025-14009","published":"2026-02-18T17:45:17Z","modified":"2026-07-15T01:27:23Z","title":"Zip Slip Vulnerability in nltk/nltk Leading to Remote Code Execution","vendor":"nltk","product":"nltk/nltk","tier":"tail","description":{"text":"A critical vulnerability exists in the NLTK downloader component of nltk/nltk, affecting all versions. The _unzip_iter function in nltk/downloader.py uses zipfile.extractall() without performing path validation or security checks. This allows attackers to craft malicious zip packages that, when downloaded and extracted by NLTK, can execute arbitrary code. The vulnerability arises because NLTK assumes all downloaded packages are trusted and extracts them without validation. If a malicious package contains Python files, such as __init__.py, these files are executed automatically upon import, leading to remote code execution. This issue can result in full system compromise, including file system access, network access, and potential persistence mechanisms.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01021,"percentile":0.64246,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://huntr.com/bounties/49ecbc02-054e-4470-b2e0-b267936cc4e4","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2025-14009","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2440724","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14009.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":12.85},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk/nltk","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-02-19T04:55:48.822030Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.9.3"],"patched":["3.9.3"],"from":["GHSA-7p94-766c-hgjp","PYSEC-2026-96"],"provenance":"source"}],"summary":{"text":"The NLTK downloader component of the nltk/nltk product contains a Zip Slip flaw: its _unzip_iter function in nltk/downloader.py extracts downloaded archives with zipfile.extractall() and performs no path validation. An attacker who can get NLTK to download a crafted zip package, which NLTK treats as trusted, can achieve arbitrary code execution, since any Python files it contains (such as __init__.py) run automatically on import, with no authentication required and the attack needing only that a malicious package be downloaded and imported.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:15Z"},"euvd":{"id":"EUVD-2025-207820","exploited":false,"provenance":"source"}}