CVE-2026-62385
NLTK versions before 3.10.0 contain a path traversal vulnerability …
NLTK versions before 3.10.0 contain a path traversal vulnerability in FramenetCorpusReader and NKJPCorpusReader that allows attackers to parse XML files outside the corpus root by supplying unsafe selectors or poisoned index state. Attackers can exploit frame_by_name, doc, lu, and header methods with crafted parameters to read arbitrary XML files accessible to the application.
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-568f-pv23-39p4
- www.vulncheck.com/advisories/nltk-path-traversal-via-framenet-and-nkjp-readers
- nvd.nist.gov/vuln/detail/CVE-2026-62385
- github.com/nltk/nltk/pull/3579
- github.com/nltk/nltk/pull/3581
- github.com/nltk/nltk/commit/7d1389d0789c1eca56bd0ed444089e0a3972e3ed
- github.com/nltk/nltk/commit/bf3bf32786791394a1008258b4917a7f2d4dbcda
- github.com/nltk/nltk/releases/tag/v3.10.0
- nvd.nist.gov/vuln/detail/CVE-2026-62385
- cve.org/CVERecord?id=CVE-2026-62385
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.