CVE-2026-62385

NLTK 3.9.4 Path Traversal via FrameNet and NKJP Readers

State
Published
Severity
8.2 High
Published
Aug 22, 2026
Updated
Aug 24, 2026
Reserved
Jul 13, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NVulnCheck

Weaknesses

  • CWE-73 External Control of File Name or Path

Affected Products

ProductVersions
nltknltk
  • before 3.10.0Affected
  • 3.10.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.