CVE 10 CRITICAL

Zip Slip Vulnerability in nltk/nltk Leading to Remote Code Execution_CVE-2025-14009

10 / 10
CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Description

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.

AI Analysis

A critical vulnerability exists in the NLTK downloader component, allowing attackers to craft malicious zip packages for remote code execution.

Basic Information

ID CVE-2025-14009
Source @huntr_ai
Published Feb 18, 2026 at 17:45
Modified Feb 18, 2026 at 19:10

Affected Product

Vendor nltk
Product nltk/nltk
Version unspecified
Affected Versions nltk nltk/nltk unspecified

CWE Classification

AI Assessment

AI Score 10 / 10
AI Severity Critical
Vendor NLTK
Product NLTK Downloader
Version All versions

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.