Bug 2521336 (CVE-2026-63312) - CVE-2026-63312 nltk: NLTK: Arbitrary file read via StreamBackedCorpusView bypass
Summary: CVE-2026-63312 nltk: NLTK: Arbitrary file read via StreamBackedCorpusView bypass
Keywords:
Status: NEW
Alias: CVE-2026-63312
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-22 14:31 UTC by OSIDB Bzimport
Modified: 2026-08-31 11:39 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-22 14:31:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.