PYSEC-2026-3728
Dashboard / Vulnerabilities / PYSEC-2026-3728
PYSEC-2026-3728
Published: 22 Aug 2026Last Modified: 1 Sept 2026
Aliases:
Summary:
Details: 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.
References: https://www.vulncheck.com/advisories/nltk-path-traversal-via-framenet-and-nkjp-readers, https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4
Affected packages
Package
Name: nltk
Purl: pkg:pypi/nltk
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -3.10.0
Affected versions
0.8
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
