NLTK versions before 3.10.0 contain a path traversal vulnerability in FramenetCorpusReader and NKJPCorpusReader that allows attackers to parse XML files outside

PYSEC-2026-3728
HIGH 8.2OSV

En bref

Source
OSV
Publiée
Mise à jour
CVE
CVE-2026-62385
Alias
GHSA-568f-pv23-39p4
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Criticité de la CVE
HIGH 8.2 · CVE-2026-62385

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.

Références

Paquets affectés

PaquetVersions
PyPI · nltkintroduced 0, fixed 3.10.0

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database