NLTK versions before 3.10.3 contain a path sandbox bypass vulnerability in corpus-reader constructors that allows attackers to read files outside the intended d

PYSEC-2026-3736
HIGH 8.8OSV

At a glance

Source
OSV
Published
Updated
CVE
CVE-2026-79674
Aliases
GHSA-3gq4-3j92-5w49
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/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.8 · CVE-2026-79674

Description

NLTK versions before 3.10.3 contain a path sandbox bypass vulnerability in corpus-reader constructors that allows attackers to read files outside the intended data root. Attackers can supply arbitrary corpus root paths to LinThesaurusCorpusReader and PanLexLiteCorpusReader constructors to access filesystem content and SQLite databases outside the pathsec sandbox boundary.

References

Affected packages

PackageVersions
PyPI · nltkintroduced 0, fixed 3.10.3

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database