{"id":"CVE-2026-126304","summary":"NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader","details":"NLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.","aliases":["GHSA-qg35-44qx-7vrr"],"modified":"2026-11-19T20:45:50.737244470Z","published":"2026-11-13T09:36:23.105Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126304.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-59"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126304.json"},{"type":"ADVISORY","url":"https://github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126304"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreader"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nltk/nltk","events":[{"introduced":"bd49f9011d7dc8c6a36b3c4ae71f04060c9b3fb9"},{"fixed":"5c41fc04a45e95577a83f3914acda211a994be00"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"3.10.0"},{"fixed":"3.10.4"}]},{"source":"DESCRIPTION","range":[{"introduced":"3.10.0"},{"fixed":"3.10.4"}]}]}}],"versions":["v3.10.4-rc1","v3.10.3-rc1","v3.10.3","v3.10.2-rc1","v3.10.2","v3.10.1","v.3.10.1","v3.10.1-rc2","v3.10.0-rc2","v3.10.0","v3.10.1-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126304.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}