nltk versions before 3.10.2 contain a symlink-based arbitrary file read vulnerability in IPIPANCorpusReader methods that bypass nltk.pathsec validation entirely

PYSEC-2026-3726
MEDIUM 6.8OSV

En bref

Source
OSV
Publiée
Mise à jour
CVE
CVE-2026-62383
Alias
GHSA-3hhw-38pf-pxj6
CVSS_V4
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Criticité de la CVE
MEDIUM 6.8 · CVE-2026-62383

Description

nltk versions before 3.10.2 contain a symlink-based arbitrary file read vulnerability in IPIPANCorpusReader methods that bypass nltk.pathsec validation entirely. Attackers can place a symlink in the corpus root directory and read arbitrary files accessible to the process by calling channels(), domains(), categories(), or fileids() methods with the symlink filename.

Références

Paquets affectés

PaquetVersions
PyPI · nltkintroduced 3.10.0, fixed 3.10.2

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database