CVE-2026-62388
NLTK: NLTK: Bypass of path traversal and pickle deserialization protections due to insecure default configuration
Overview
Description
NLTK versions before 3.10.0 default to ENFORCE=False in pathsec.py, causing all security validation functions to emit warnings instead of raising exceptions. Attackers can bypass path traversal and pickle deserialization protections by exploiting the disabled security controls that are only active when manually enabled.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-1188
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | nltk | <3.10.0 | 3.10.0 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | nltk | affected |
| 12 | nltk | affected |
| 13 | nltk | affected |
| 14 | nltk | 3.10.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nltk | affected |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| label-studio | 1.23.1-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-62388
- github.com https://github.com/nltk/nltk
- github.com https://github.com/nltk/nltk/commit/155e40343cff0bf50d233e274a12e04d1428b1d9
- github.com https://github.com/nltk/nltk/pull/3593
- github.com https://github.com/nltk/nltk/releases/tag/v3.10.0
- github.com https://github.com/nltk/nltk/security/advisories/GHSA-p3m8-78j2-g5p3
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3722.yaml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-62388
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-62388
- www.vulncheck.com https://www.vulncheck.com/advisories/nltk-before-insecure-default-configuration-pathsec
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.