Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-14009

nltk: Zip Slip Vulnerability in nltk Leading to Code Execution

Overview

Published
18 Feb 2026
Modified
15 Jul 2026
High CVE
1 Registry packages
10 OS packages
7 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-94

Affected packages · 1

Packages affected by CVE-2025-14009
EcosystemPackageVulnerableFixed in
PyPI nltk <3.9.3 3.9.3

Open a package to see all its vulnerabilities.

Operating systems · 22 fixes

alpine 2 releases · 1 package

fixed 2
py3-nltk
alpine fixes for CVE-2025-14009
ReleasePackageFixed in
3.24 py3-nltk 3.9.3-r0
edge py3-nltk 3.9.3-r0

chainguard 1 release · 6 packages

fixed 6
open-webui label-studio kubeflow-pipelines-visualization-server nemo apache-beam-python-3-11-sdk py3-nltk
chainguard fixes for CVE-2025-14009
ReleasePackageFixed in
open-webui 0.8.9-r0
label-studio 1.22.0-r6
kubeflow-pipelines-visualization-server 2.16.0-r0
nemo 2.6.2-r3
apache-beam-python-3-11-sdk 2.71.0-r5
py3-nltk 3.9.3-r0

debian 4 releases · 1 package

affected 3 fixed 1
nltk
debian fixes for CVE-2025-14009
ReleasePackageFixed in
11 nltk affected
12 nltk affected
13 nltk affected
14 nltk 3.9.3-1

echo 1 release · 1 package

affected 1
nltk
echo fixes for CVE-2025-14009
ReleasePackageFixed in
nltk affected

openSUSE 1 release · 1 package

fixed 1
python311-nltk
openSUSE fixes for CVE-2025-14009
ReleasePackageFixed inAdvisory
Tumbleweed python311-nltk +2 3.9.1-3.1 openSUSE-SU-2026:10226-1

ubuntu 5 releases · 1 package

fixed 2 affected 3
nltk
ubuntu fixes for CVE-2025-14009
ReleasePackageFixed in
18.04-ESM nltk 3.2.5-1ubuntu0.1+esm3
20.04-ESM nltk 3.4.5-2ubuntu0.1~esm3
22.04 nltk affected
24.04 nltk affected
26.04 nltk affected

wolfi 1 release · 3 packages

fixed 3
open-webui kubeflow-pipelines-visualization-server py3-nltk
wolfi fixes for CVE-2025-14009
ReleasePackageFixed in
open-webui 0.8.9-r0
kubeflow-pipelines-visualization-server 2.16.0-r0
py3-nltk 3.9.3-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.