{"metadata": {"vulnerability": "CVE-2026-128135", "count": 12, "kinds": {"milestone": 4, "sighting": 3, "kev": 0, "other": 5}, "linked_omitted": 0}, "data": [{"timestamp": "2026-11-12T22:42:47.032Z", "date_only": false, "value": "2026-11-12T22:42:47.032Z", "kind": "milestone", "label": "Reserved", "source": "cvelistv5", "record": "CVE-2026-128135", "field": "cveMetadata.dateReserved"}, {"timestamp": "2026-11-15T12:36:36Z", "date_only": false, "value": "2026-11-15T12:36:36.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh", "record": "CVE-2026-128135", "field": "creation_timestamp", "uuid": "9f5ff075-41b7-4ca8-8814-73404c6244c4", "url": "https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh", "metric_role": "exploit_publication", "metric_basis": "sighting_report"}, {"timestamp": "2026-11-19T17:59:30.722Z", "date_only": false, "value": "2026-11-19T17:59:30.722Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-128135", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, {"timestamp": "2026-11-19T17:59:30.722Z", "date_only": false, "value": "2026-11-19T17:59:30.722Z", "kind": "other", "label": "Updated", "source": "cvelistv5", "record": "CVE-2026-128135", "field": "cveMetadata.dateUpdated"}, {"timestamp": "2026-11-19T17:59:30.722Z", "date_only": false, "value": "2026-11-19T17:59:30.722Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / GitHub_M", "record": "CVE-2026-128135", "field": "containers.cna.providerMetadata.dateUpdated"}, {"timestamp": "2026-11-19T18:18:05Z", "date_only": false, "value": "2026-11-19T18:18:05Z", "kind": "other", "label": "Nvd published at", "source": "github \u00b7 GHSA-WR3G-J6QJ-XPGH", "record": "GHSA-WR3G-J6QJ-XPGH", "field": "database_specific.nvd_published_at", "linked_record": true}, {"timestamp": "2026-11-19T18:18:05.837Z", "date_only": false, "value": "2026-11-19T18:18:05.837", "kind": "milestone", "label": "Published", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-128135", "record": "FKIE_CVE-2026-128135", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-11-19T18:18:05.967Z", "date_only": false, "value": "2026-11-19T18:18:05.967", "kind": "other", "label": "Updated", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-128135", "record": "FKIE_CVE-2026-128135", "field": "lastModified", "linked_record": true}, {"timestamp": "2026-11-19T19:56:40.967Z", "date_only": false, "value": "2026-11-19T19:56:40.967880Z", "kind": "sighting", "label": "Seen", "source": "https://infosec.exchange/users/cve/statuses/117644866382289373", "record": "CVE-2026-128135", "field": "creation_timestamp", "uuid": "7e81ccad-ff8e-4cb8-9a5c-ef2f9e906f86", "content": "CVE-2026-128135 NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root 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.9.4 to 3.10.3, NLTK ZIP package extraction can write through an existing in-root hardlink whose other link points outside the NLTK data root. A local attacker who can prepare the extraction target can cause a package member write to overwrite an out-of-root file, violating the pathsec containment boundary and affecting integrity and availability. This issues is fixed in version 3.10.4.\nhttps://www.cve.org/CVERecord?id=CVE-2026-128135https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpghhttps://github.com/nltk/nltk/pull/3753https://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0https://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78https://github.com/nltk/nltk/releases/tag/v3.10.4#nltk#CVE_2026_128135#bot", "url": "https://infosec.exchange/users/cve/statuses/117644866382289373"}, {"timestamp": "2026-11-19T23:59:15Z", "date_only": false, "value": "2026-11-19T23:59:15Z", "kind": "milestone", "label": "Published", "source": "github \u00b7 GHSA-WR3G-J6QJ-XPGH", "record": "GHSA-WR3G-J6QJ-XPGH", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-11-19T23:59:15Z", "date_only": false, "value": "2026-11-19T23:59:15Z", "kind": "other", "label": "Updated", "source": "github \u00b7 GHSA-WR3G-J6QJ-XPGH", "record": "GHSA-WR3G-J6QJ-XPGH", "field": "modified", "linked_record": true}, {"timestamp": "2026-11-20T00:30:49Z", "date_only": false, "value": "2026-11-20T00:30:49.000000Z", "kind": "sighting", "label": "Seen", "source": "https://gist.github.com/alon710/6e5271e8bb2eb47988c99b84f5b81f1d", "record": "CVE-2026-128135", "field": "creation_timestamp", "uuid": "7537ff1a-7e9f-4ee5-963d-f4b506176021", "content": "# CVE-2026-128135: CVE-2026-128135: Sandbox Escape and Arbitrary File Overwrite via Hardlink Following in NLTK ZIP Extraction\n\n&gt; **CVSS Score:** 7.1\n&gt; **Published:** 2026-11-19\n&gt; **Full Report:** https://cvereports.com/reports/CVE-2026-128135\n\n## Summary\nA local sandbox escape vulnerability exists in the Natural Language Toolkit (NLTK) versions 3.9.4 through 3.10.3 within its ZIP archive extraction implementation. Due to a type mismatch in member resolution and a failure to inspect filesystem link counts (st_nlink &gt; 1), the extraction routine follows pre-planted hardlinks inside the extraction root, allowing a local attacker to truncate and overwrite arbitrary out-of-root files writable by the executing process.\n\n## TL;DR\nNLTK versions 3.9.4 to 3.10.3 fail to reject multiply-linked files during ZIP package extraction and silently fall back to standard library extraction when handling string member names. A local attacker with write access to the extraction target directory can plant a hardlink pointing to an external file on the same filesystem, causing NLTK to overwrite the external target during package installation. Upgrading to NLTK 3.10.4 resolves the issue.\n\n## Exploit Status: POC\n\n## Technical Details\n\n- **Vulnerability Type**: CWE-59: Improper Link Resolution Before File Access ('Link Following')\n- **CVSS v3.1 Score**: 7.1 High (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H)\n- **Attack Vector**: Local Filesystem (Pre-planted POSIX Hardlink in NLTK Extraction Directory)\n- **Affected Component**: nltk.pathsec.ZipFile._extract_member and nltk.downloader._unzip_iter\n- **Affected Versions**: NLTK &gt;= 3.9.4, &lt; 3.10.4\n- **Patched Version**: NLTK 3.10.4\n- **Impact**: Sandbox Escape, Arbitrary Out-of-Root File Truncation and Overwrite\n- **Exploit Status**: PoC Available (Official Unit Test Regression Probe)\n\n## Affected Systems\n\n- NLTK (Natural Language Toolkit) Python Library (versions 3.9.4 through 3.10.3) on POSIX filesystems\n- **nltk**: &gt;= 3.9.4, &lt; 3.10.4 (Fixed in: `3.10.4`)\n\n## Mitigation\n\n- Upgrade NLTK to version 3.10.4 or later to enforce st_nlink checks and proper ZipInfo resolution in nltk.pathsec.ZipFile.\n- Isolate NLTK data roots (NLTK_DATA) in private directories with 0700 permissions owned exclusively by the executing service account.\n- Enable kernel-level hardlink restrictions (fs.protected_hardlinks=1 on Linux) on multi-user systems.\n- Mount shared or temporary scratch directories on separate filesystem partitions from sensitive application and user configuration files.\n\n**Remediation Steps:**\n1. Update the nltk Python package via pip: pip install --upgrade 'nltk&gt;=3.10.4'\n2. Audit existing NLTK data directories for multiply-linked files using: find /path/to/nltk_data -type f -links +1\n3. Remove any unauthorized hardlinks discovered within the corpus or package directories.\n4. Configure directory permissions on all paths listed in nltk.data.path to disallow group or world write access (chmod -R go-w /path/to/nltk_data).\n\n## References\n\n- [GitHub Security Advisory GHSA-wr3g-j6qj-xpgh](https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh)\n- [Official Fix Commit 0e9898b7615b4ab3b023e868212316a489ece4f0](https://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0)\n- [Fix Commit cf12a5e6a439fe1d722acd53d4309911faaaaf78](https://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78)\n- [GitHub Pull Request #3753](https://github.com/nltk/nltk/pull/3753)\n- [NLTK Release v3.10.4](https://github.com/nltk/nltk/releases/tag/v3.10.4)\n- [CVE.org Official Record: CVE-2026-128135](https://www.cve.org/CVERecord?id=CVE-2026-128135)\n- [NVD Vulnerability Details: CVE-2026-128135](https://nvd.nist.gov/vuln/detail/CVE-2026-128135)\n- [CVEProject cvelistV5 JSON Record](https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128135.json)\n\n\n---\n*Generated by [CVEReports](https://cvereports.com/reports/CVE-2026-128135) - Automated Vulnerability Intelligence*", "url": "https://gist.github.com/alon710/6e5271e8bb2eb47988c99b84f5b81f1d"}], "metrics": {"as_of": "2026-11-20T04:23:30.779Z", "anchors": {"origin": {"timestamp": "2026-11-19T17:59:30.722Z", "date_only": false, "value": "2026-11-19T17:59:30.722Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-128135", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "discovery": null, "report": null, "acknowledgement": null, "disclosure": {"timestamp": "2026-11-19T17:59:30.722Z", "date_only": false, "value": "2026-11-19T17:59:30.722Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-128135", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "exploit_publication": {"timestamp": "2026-11-15T12:36:36Z", "date_only": false, "value": "2026-11-15T12:36:36.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh", "record": "CVE-2026-128135", "field": "creation_timestamp", "uuid": "9f5ff075-41b7-4ca8-8814-73404c6244c4", "url": "https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh", "metric_role": "exploit_publication", "metric_basis": "sighting_report"}, "exploitation": null, "patch": null}, "vendor_response_time": {"available": false, "missing": ["start", "end"]}, "time_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit_publication": {"available": true, "seconds": -364974.722, "hours": -101.38186722222223, "days": -4.224244467592593, "min_seconds": -364974.722, "max_seconds": -364974.722, "approximate": false, "ongoing": false, "order_known": true, "batch_listing": false, "end_before_start": true, "start": {"timestamp": "2026-11-19T17:59:30.722Z", "date_only": false, "value": "2026-11-19T17:59:30.722Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-128135", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "end": {"timestamp": "2026-11-15T12:36:36Z", "date_only": false, "value": "2026-11-15T12:36:36.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh", "record": "CVE-2026-128135", "field": "creation_timestamp", "uuid": "9f5ff075-41b7-4ca8-8814-73404c6244c4", "url": "https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh", "metric_role": "exploit_publication", "metric_basis": "sighting_report"}}, "time_to_patch": {"available": false, "missing": ["start", "end"]}, "total_time_to_patch": {"available": false, "missing": ["start", "end"]}, "disclosure_to_patch": {"available": false, "missing": ["end"]}, "time_unpatched": {"available": true, "seconds": 37440.057244, "hours": 10.400015901111113, "days": 0.4333339958796297, "min_seconds": 37440.057244, "max_seconds": 37440.057244, "approximate": false, "ongoing": true, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2026-11-19T17:59:30.722Z", "date_only": false, "value": "2026-11-19T17:59:30.722Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-128135", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "end": {"timestamp": "2026-11-20T04:23:30.779Z", "date_only": false, "label": "As of", "source": "Calculation clock"}}, "exploitation_to_patch": {"available": false, "missing": ["start"]}, "exploit_publication_to_patch": {"available": true, "seconds": 402414.779244, "hours": 111.78188312333333, "days": 4.657578463472222, "min_seconds": 402414.779244, "max_seconds": 402414.779244, "approximate": false, "ongoing": true, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2026-11-15T12:36:36Z", "date_only": false, "value": "2026-11-15T12:36:36.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh", "record": "CVE-2026-128135", "field": "creation_timestamp", "uuid": "9f5ff075-41b7-4ca8-8814-73404c6244c4", "url": "https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh", "metric_role": "exploit_publication", "metric_basis": "sighting_report"}, "end": {"timestamp": "2026-11-20T04:23:30.779Z", "date_only": false, "label": "As of", "source": "Calculation clock"}}}}
