{"schemaVersion":3,"id":"CVE-2026-12261","aliases":["GHSA-ffj6-66c4-86gw","PYSEC-2026-3954","UBUNTU-CVE-2026-12261","DEBIAN-CVE-2026-12261"],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability in `nltk.downloader` in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. The downloader extracts package archives into shared namespaces such as `corpora/` and `taggers/` instead of package-isolated roots, and validates package integrity only after the archive has been written and extracted. This design flaw enables one package to overwrite another package's trusted resources within the same namespace, making the changes immediately active through ordinary NLTK APIs. This issue persists across fresh interpreter restarts and can affect downstream workflows, including machine learning pipelines and reproducibility-sensitive environments.","dates":{"published":"2026-08-07T06:25:10.976Z","modified":"2026-08-07T15:27:19.025Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00211,"percentile":0.10696,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.005999999999999972,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00205},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00211,"percentile":0.10696}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00205,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00211,"percentile":0.10696}]},"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-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"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}],"versionsText":"All versions (No fix recorded)","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","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.9.4","eol":null,"hubHref":"/vendor/nltk/nltk"},{"vendor":"nltk","product":"nltk/nltk","name":"nltk/nltk","label":"nltk/nltk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/nltk/nltknltk"},{"vendor":"PyPI","product":"nltk","name":"nltk","label":"nltk","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/nltk","purlType":"pypi","versions":[{"text":"< 3.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.10.0","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/8b8c381e-08a8-4e4f-bb46-a320c96a364f","label":"huntr.com/bounties/8b8c381e-08a8-4e4f-bb46-a320c96a364f","hostname":"huntr.com","tags":["WEB","REPORT","Permissions Required"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12261","label":"nvd.nist.gov/vuln/detail/CVE-2026-12261","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/nltk/nltk/pull/3625","label":"github.com/nltk/nltk/pull/3625","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/nltk/nltk/commit/7a5740af89feeb739193db766e11e85dfe78339c","label":"github.com/nltk/nltk/commit/7a5740af89feeb739193db766e11e85dfe78339c","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/nltk/nltk","label":"github.com/nltk/nltk","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.0","label":"github.com/nltk/nltk/releases/tag/v3.10.0","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3954.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3954.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-12261","label":"ubuntu.com/security/CVE-2026-12261","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-12261","label":"www.cve.org/CVERecord?id=CVE-2026-12261","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-12261","label":"security-tracker.debian.org/tracker/CVE-2026-12261","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-ffj6-66c4-86gw","label":"github.com/advisories/GHSA-ffj6-66c4-86gw","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-07T06:25:10.976Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-07T15:27:19.025Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:09:05.483Z","stale":false,"partial":false}}