NLTK before 3.10.0 contains an arbitrary local file read vulnerability in StreamBackedCorpusView that bypasses pathsec.ENFORCE by calling builtins.open() directly instead of pathsec.open(). Attackers who control the fileid argument can read arbitrary local files regardless of the ENFORCE setting, including sensitive system files and application credentials.
Metrics
Affected Vendors & Products
References
History
Tue, 01 Sep 2026 12:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
Mon, 24 Aug 2026 19:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Sat, 22 Aug 2026 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | NLTK before 3.10.0 contains an arbitrary local file read vulnerability in StreamBackedCorpusView that bypasses pathsec.ENFORCE by calling builtins.open() directly instead of pathsec.open(). Attackers who control the fileid argument can read arbitrary local files regardless of the ENFORCE setting, including sensitive system files and application credentials. | |
| Title | NLTK StreamBackedCorpusView Bypasses pathsec.ENFORCE Arbitrary File Read | |
| First Time appeared |
Nltk
Nltk nltk |
|
| Weaknesses | CWE-22 | |
| CPEs | cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Nltk
Nltk nltk |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-08-22T14:12:40.731Z
Updated: 2026-08-24T18:34:55.320Z
Reserved: 2026-07-16T12:13:18.733Z
Link: CVE-2026-63312
Updated: 2026-08-24T18:34:44.368Z
Status : Analyzed
Published: 2026-08-22T15:16:19.367
Modified: 2026-08-31T18:40:02.810
Link: CVE-2026-63312