Vulnerability in Nltk

CVE-2026-62385

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.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-62385?
CVE-2026-62385 is a medium-severity vulnerability in Nltk, classified under External Control of File Name or Path. CVSS score: 5.9/10. Published 2026-08-22.
How severe is CVE-2026-62385?
Medium severity. CVSS v3 base score is 5.9 out of 10.