# CVE-2026-126296: NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/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.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T09:36:28.517Z
- Modified: 2026-11-18T16:18:07.577Z
- Also known as: GHSA-59f9-gqg8-mqpj
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

NLTK before 3.10.4 contains a path traversal vulnerability in save_maxent_params() and load_maxent_params() that bypasses the pathsec filesystem restriction mechanism. Attackers who control the tab_dir argument can read or overwrite model parameter files outside permitted data roots, because the functions call Python's built-in open() directly.

(As written by CVE List.)

## Affected

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

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-59f9-gqg8-mqpj> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-before-3.10.4-path-traversal-via-save-maxent-params-and-load-maxent-params> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126296> (advisory)
- <https://github.com/nltk/nltk/pull/3759> (web)
- <https://github.com/nltk/nltk/commit/2a92b71827d754ae8920261e7ed0c4bb283ab2d7> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)

## Sources

- CVE List: [CVE-2026-126296](https://www.cve.org/CVERecord?id=CVE-2026-126296), CVE Terms of Use, modified 2026-11-18
- GitHub Advisory Database: [GHSA-59f9-gqg8-mqpj](https://github.com/advisories/GHSA-59f9-gqg8-mqpj), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-126296](https://nvd.nist.gov/vuln/detail/CVE-2026-126296), Public domain, modified 2026-11-18

---

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