Arbitrary Local File Read in NLTK StreamBackedCorpusView by NLTK
CVE-2026-63312

8.7HIGH

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
22 August 2026

What is CVE-2026-63312?

The NLTK library, specifically the StreamBackedCorpusView component, has a vulnerability that allows attackers to read arbitrary local files by manipulating the fileid argument. This occurs because the component directly calls builtins.open() instead of enforcing file access restrictions through pathsec.open(). As a result, sensitive information, including system files and application credentials, can be compromised, leading to potential exposure of confidential data.

Affected Version(s)

nltk 0 < 3.10.0

nltk 3.10.0

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

meme-dm
.