# CVE-2026-109956: NLTK before 3.10.4 Path Traversal via WekaClassifier Model Path

- Severity: High 8.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/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-10-13T13:27:20.244Z
- Modified: 2026-11-20T13:18:35.163Z
- Also known as: GHSA-j456-xh4h-cpf2
- 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 WekaClassifier that allows attackers to bypass nltk.pathsec containment by supplying unvalidated model paths. Attackers controlling the model_filename or model argument can make the weka JVM write files via -d or probe files via -l outside allowed data roots.

(As written by CVE List.)

## Affected

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

## Every score

- VulnCheck: CVSS:4.0 8.3 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-j456-xh4h-cpf2> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-through-3.10.3-path-traversal-via-wekaclassifier-model-path> (third-party-advisory)
- <https://github.com/nltk/nltk/pull/3863> (web)
- <https://github.com/nltk/nltk/commit/6a17606293fe9d3ea1006f99dd3fed2e2b25d519> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)

## Sources

- CVE List: [CVE-2026-109956](https://www.cve.org/CVERecord?id=CVE-2026-109956), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-j456-xh4h-cpf2](https://github.com/advisories/GHSA-j456-xh4h-cpf2), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-109956](https://nvd.nist.gov/vuln/detail/CVE-2026-109956), Public domain, modified 2026-11-20

---

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