NLTK versions before 3.10.2 contain a symlink-based sandbox bypass in FramenetCorpusReader that allows attackers to read arbitrary XML files outside the corpus

PYSEC-2026-3789
HIGH 8.7OSV

At a glance

Source
OSV
Published
Updated
CVE
CVE-2026-62384
Aliases
GHSA-f833-7jw8-xwrv
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
CVE severity
HIGH 8.7 · CVE-2026-62384

Description

NLTK versions before 3.10.2 contain a symlink-based sandbox bypass in FramenetCorpusReader that allows attackers to read arbitrary XML files outside the corpus root. Attackers can place symlinks with names containing no path separators inside the corpus subdirectory, which pass the path validation guard and are resolved to files outside the intended corpus root when accessed via frame_by_name(), _lu_file(), or doc() methods.

References

Affected packages

PackageVersions
PyPI · nltkintroduced 3.10.0, fixed 3.10.2

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database