# CVE-2026-62388: NLTK before 3.10.0 Insecure Default Configuration in pathsec.py

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-22T14:12:38.647Z
- Modified: 2026-10-14T13:10:00.187Z
- Also known as: GHSA-p3m8-78j2-g5p3, PYSEC-2026-3722
- Weaknesses: CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- nltk nltk: before 3.10.0 (not affected: 3.10.0)
- nltk (PyPI): before 3.10.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-p3m8-78j2-g5p3> (exploit, evidence, mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-before-insecure-default-configuration-pathsec> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62388> (advisory)
- <https://github.com/nltk/nltk/pull/3593> (web)
- <https://github.com/nltk/nltk/commit/155e40343cff0bf50d233e274a12e04d1428b1d9> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3722.yaml> (web)

## Sources

- CVE List: [CVE-2026-62388](https://www.cve.org/CVERecord?id=CVE-2026-62388), CVE Terms of Use, modified 2026-08-29
- GitHub Advisory Database: [GHSA-p3m8-78j2-g5p3](https://github.com/advisories/GHSA-p3m8-78j2-g5p3), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-62388](https://nvd.nist.gov/vuln/detail/CVE-2026-62388), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-3722](https://osv.dev/vulnerability/PYSEC-2026-3722), CC-BY-4.0, modified 2026-08-28

---

Page: https://cve.day/CVE-2026-62388 · Whole record: https://cve.day/CVE-2026-62388.json · Rebuilt by cve.day 2026-11-25T22:59:34.874Z
