# CVE-2026-129233: NLTK: StreamBackedCorpusView constructor os.stat leaks out-of-root file existence, size, and mtime bypassing pathsec ENFORCE

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-11-19T17:17:57.637Z
- Modified: 2026-11-20T00:00:05.083Z
- Also known as: GHSA-w674-vqhw-g3pg
- Weaknesses: CWE-200, CWE-538
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.10.0 until 3.10.4, StreamBackedCorpusView performs os.stat on a caller-supplied plain string path during construction before pathsec containment is enforced. The PathPointer branch used by in-tree corpus readers is validated, so exploitation requires application code to pass an attacker-influenced string directly to the public constructor. That string can identify an out-of-root path and disclose its existence, size, and modification time even though opening the file would be rejected. This issue is fixed in version 3.10.4.

(As written by CVE List.)

## Affected

- nltk nltk: >= 3.10.0, < 3.10.4
- nltk (PyPI): from 3.10.0 before 3.10.4

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-w674-vqhw-g3pg> (web)
- <https://github.com/nltk/nltk/pull/3888> (web)
- <https://github.com/nltk/nltk/commit/2c563b13f9dce7c15eefd4b03463e1b69b64f1f3> (web)
- <https://github.com/nltk/nltk/commit/68434c0427f8d296f3adfddb518525038d1f7bfa> (web)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-129233> (advisory)
- <https://github.com/nltk/nltk> (package)

## Sources

- CVE List: [CVE-2026-129233](https://www.cve.org/CVERecord?id=CVE-2026-129233), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-w674-vqhw-g3pg](https://github.com/advisories/GHSA-w674-vqhw-g3pg), CC-BY-4.0, modified 2026-11-20
- NVD: [CVE-2026-129233](https://nvd.nist.gov/vuln/detail/CVE-2026-129233), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-129233 · Whole record: https://cve.day/CVE-2026-129233.json · Rebuilt by cve.day 2026-11-25T22:59:52.166Z
