CVE-2026-81726
NLTK through 3.10.3 contains a path traversal vulnerability in …
NLTK through 3.10.3 contains a path traversal vulnerability in model-artifact APIs that bypass pathsec enforcement by using raw file operations on caller-controlled paths. Attackers can read or write files outside allowed sandbox roots through TransitionParser, AveragedPerceptron, PerceptronTagger, and maxent parameter APIs when pathsec is enabled.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nltk/nltk/security/advisories/GHSA-8mgp-746c-j5xp
- www.vulncheck.com/advisories/nltk-through-3.10.3-path-traversal-via-model-artifact-apis
- nvd.nist.gov/vuln/detail/CVE-2026-81726
- github.com/nltk/nltk/pull/3757
- github.com/nltk/nltk/pull/3759
- github.com/nltk/nltk/pull/3813
- github.com/nltk/nltk/commit/2a92b71827d754ae8920261e7ed0c4bb283ab2d7
- github.com/nltk/nltk/commit/a44a7af69bca87e92d9c4a701fcbbe4512e8d450
- nvd.nist.gov/vuln/detail/CVE-2026-81726
- cve.org/CVERecord?id=CVE-2026-81726
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.