# CVE-2026-126302: NLTK 3.9.4 before 3.10.4 Symlink Sandbox Escape via chat80.sql_query

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA: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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-13T09:36:24.559Z
- Modified: 2026-11-16T15:00:09.653Z
- Also known as: GHSA-xmfg-f9cm-w86q
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

NLTK from 3.9.4 before 3.10.4 contains a symlink following vulnerability in nltk.sem.chat80.sql_query() that bypasses the pathsec data-root sandbox containment check. Attackers who can write into a trusted NLTK data root can plant a symbolic link to read SQLite databases outside the sandbox.

(As written by CVE List.)

## Affected

- nltk nltk: from 3.9.4 before 3.10.4 (not affected: 3.10.4)
- nltk (PyPI): from 3.9.4 before 3.10.4

## Every score

- VulnCheck: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-xmfg-f9cm-w86q> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-3.9.4-before-3.10.4-symlink-sandbox-escape-via-chat80-sql-query> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126302> (advisory)
- <https://github.com/nltk/nltk> (package)

## Sources

- CVE List: [CVE-2026-126302](https://www.cve.org/CVERecord?id=CVE-2026-126302), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-xmfg-f9cm-w86q](https://github.com/advisories/GHSA-xmfg-f9cm-w86q), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-126302](https://nvd.nist.gov/vuln/detail/CVE-2026-126302), Public domain, modified 2026-11-13

---

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