{"schemaVersion":3,"id":"CVE-2026-71514","aliases":["GHSA-cv22-g7mw-8v73","PYSEC-2026-3790","UBUNTU-CVE-2026-71514","DEBIAN-CVE-2026-71514","CGA-43xq-fxgm-73c7","CGA-xg3w-5mwp-gcr2","CGA-xghc-2v97-cmjc"],"status":"published","duplicateOf":null,"title":null,"description":"NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability in CrubadanCorpusReader. _load_lang_ngrams joins the corpus root with crubadan_code, the column-0 value read from the corpus table.txt mapping file, and opens the result with the builtin open() rather than the pathsec-validated opener, so os.path.join discards the root when that value is absolute and the read escapes the corpus directory without the containment check nltk.pathsec applies when ENFORCE is set. An attacker who controls a corpus package can disclose file contents outside the corpus root through lang_freq, limited to paths ending in -3grams.txt whose contents parse as token count lines.","dates":{"published":"2026-08-22T13:34:08.493Z","modified":"2026-08-24T19:18:14.123Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.3,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2,"severity":"low","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.5,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":2,"severity":"low","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":2.5,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":2.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":2,"severity":"low","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":2,"severity":"low","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2,"severity":"low","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00171,"percentile":0.06137,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.009000000000000001,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00162},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00171,"percentile":0.06137}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00171,"percentile":0.06137}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"chainguard","product":"nemo","name":"nemo","label":"nemo","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nemo","purlType":"apk","versions":[{"text":"< 2.7.3-r27","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.3-r27","eol":null,"hubHref":null},{"vendor":"chainguard","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/open-webui","purlType":"apk","versions":[{"text":"< 0.11.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.11.3-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/open-webui","purlType":"apk","versions":[{"text":"< 0.11.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.11.3-r1","eol":null,"hubHref":null},{"vendor":"debian","product":"nltk","name":"nltk","label":"nltk","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/nltk","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3.10.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 3.10.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"nltk","name":"nltk","label":"nltk","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nltk","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"nltk","product":"nltk","name":"nltk","label":"nltk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.9.4, < 3.10.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.9.4, ≤ 3.10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.9.4, < 3.10.3 | ≥ 3.9.4, ≤ 3.10.2","eol":null,"hubHref":"/vendor/nltk/nltk"},{"vendor":"PyPI","product":"nltk","name":"nltk","label":"nltk","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/nltk","purlType":"pypi","versions":[{"text":"≥ 3.9.4, < 3.10.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.9.4, < 3.10.3","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/nltk/nltk/commit/10d34b3f4fe3fec74b76527a409eb0acbac2e8ab","label":"github.com/nltk/nltk/commit/10d34b3f4fe3fec74b76527a409eb0acbac2e8ab","hostname":"github.com","tags":["Patch","WEB","FIX","REPORT"]},{"url":"https://github.com/nltk/nltk","label":"github.com/nltk/nltk","hostname":"github.com","tags":["Product","PACKAGE","REPORT"]},{"url":"https://github.com/nltk/nltk/blob/v3.10.2/nltk/corpus/reader/crubadan.py#L90-L98","label":"github.com/nltk/nltk/blob/v3.10.2/nltk/corpus/reader/crubadan.py","hostname":"github.com","tags":["Technical Description","WEB","FIX","ARTICLE","Patch"]},{"url":"https://www.vulncheck.com/advisories/nltk-through-path-traversal-via-crubadancorpusreader-pathsec-bypass","label":"www.vulncheck.com/advisories/nltk-through-path-traversal-via-crubadancorpusreader-pathsec-bypass","hostname":"www.vulncheck.com","tags":["Third Party Advisory","WEB","Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71514","label":"nvd.nist.gov/vuln/detail/CVE-2026-71514","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.3","label":"github.com/nltk/nltk/releases/tag/v3.10.3","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-cv22-g7mw-8v73","label":"github.com/advisories/GHSA-cv22-g7mw-8v73","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-71514","label":"ubuntu.com/security/CVE-2026-71514","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-71514","label":"www.cve.org/CVERecord?id=CVE-2026-71514","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/cve-2026-71514","label":"security-tracker.debian.org/tracker/cve-2026-71514","hostname":"security-tracker.debian.org","tags":["REPORT"]},{"url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/71xxx/cve-2026-71514.json","label":"github.com/cveproject/cvelistv5/tree/main/cves/2026/71xxx/cve-2026-71514.json","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/nltk/nltk/blob/v3.10.2/nltk/corpus/reader/crubadan.py#l90-l98","label":"github.com/nltk/nltk/blob/v3.10.2/nltk/corpus/reader/crubadan.py","hostname":"github.com","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2026-71514","label":"nvd.nist.gov/vuln/detail/cve-2026-71514","hostname":"nvd.nist.gov","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-71514","label":"security-tracker.debian.org/tracker/CVE-2026-71514","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71514.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71514.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0340"],"duplicates":[],"related":["CGA-HVW9-G56P-XPQ8"]},"timeline":[{"kind":"published","date":"2026-08-22T13:34:08.493Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-24T19:18:14.123Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":13,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:29:33.112Z","stale":false,"partial":false}}