Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
NLTK versions before 3.10.0 are affected. Setting nltk.pathsec.ENFORCE = True does not block StreamBackedCorpusView from opening files, so an attacker who can influence the fileid argument passed to corpus readers can read arbitrary local files regardless of that setting. Upgrade to NLTK 3.10.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.7 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0065, the 51st percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:38 UTC First seen by agentprime
- 31 Oct 2026, 14:38 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-x5ph-mj9p-rfr8
- OSV: GHSA-x5ph-mj9p-rfr8
- github.com/nltk/nltk/security/advisories/GHSA-x5ph-mj9p-rfr8
- nvd.nist.gov/vuln/detail/CVE-2026-63312
- github.com/nltk/nltk/pull/3588
- github.com/nltk/nltk/commit/674ea75accdf08eca3782dee0a9c4ed7e0d0025b
- github.com/nltk/nltk
- github.com/nltk/nltk/releases/tag/v3.10.0
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3730.yaml
- www.vulncheck.com/advisories/nltk-streambackedcorpusview-bypasses-pathsec-enforce-arbitrary-file-read