Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-62385

NLTK 3.9.4 Path Traversal via FrameNet and NKJP Readers

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

nltk nltk

Default version status: unaffected

  • 0 to < 3.10.0affected
  • 3.10.0unaffected
pkg:pypi/nltk

References