{"id":"CVE-2026-65915","aliases":["DEBIAN-CVE-2026-65915","GHSA-72r2-7mfr-5xr9","PYSEC-2026-3731","UBUNTU-CVE-2026-65915"],"summary":"NLTK before 3.10.0 Arbitrary File Read via FileSystemPathPointer","published_at":"2026-08-22T14:12:41.391Z","modified_at":"2026-10-17T12:59:17.804243Z","products":[],"rating":{"severity":"high","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.004100000020116568,"percentile":0.3603299856185913,"date":"2026-11-19T00:00:00Z"},"priority":8.1,"details":"NLTK versions before 3.10.0 contain a logic bug in FileSystemPathPointer.open() where the sandbox validation check compares a normalized path against itself, making the security check permanently inert. Attackers can pass file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user, including credentials and configuration files.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"nltk/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0"}]}],"fixed":["3.10.0"],"provider":"cvelistv5","source":"CVE-2026-65915","relation":"self"},{"ecosystem":"Debian:12","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0-1","3.10.1-1","3.10.3-1","3.8-1","3.8.1-1","3.9.1-1","3.9.1-2","3.9.2-1","3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-65915","relation":"self"},{"ecosystem":"Debian:13","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0-1","3.10.1-1","3.10.3-1","3.9.1-2","3.9.2-1","3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-65915","relation":"self"},{"ecosystem":"Debian:14","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0-1"}]}],"versions":["3.9.1-2","3.9.2-1","3.9.3-1"],"fixed":["3.10.0-1"],"provider":"osv","source":"DEBIAN-CVE-2026-65915","relation":"self"},{"ecosystem":"NVD","package":"nltk:nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0"}]}],"fixed":["3.10.0"],"provider":"nvd","source":"CVE-2026-65915","relation":"self"},{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0"}]}],"versions":["0.8","0.9","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","2.0.1","2.0.1rc1","2.0.1rc2-git","2.0.1rc3","2.0.1rc4","2.0.2","2.0.3","2.0.4","2.0.5","2.0b4","2.0b5","2.0b6","2.0b7","2.0b8","2.0b9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1","3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3","3.4","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.5","3.5b1","3.6","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7","3.8","3.8.1","3.9","3.9.1","3.9.2","3.9.3","3.9.4","3.9b1"],"fixed":["3.10.0"],"provider":"osv","source":"GHSA-72r2-7mfr-5xr9","relation":"self"},{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0"}]}],"versions":["0.8","0.9","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","2.0.1","2.0.1rc1","2.0.1rc2-git","2.0.1rc3","2.0.1rc4","2.0.2","2.0.3","2.0.4","2.0.5","2.0b4","2.0b5","2.0b6","2.0b7","2.0b8","2.0b9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1","3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3","3.4","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.5","3.5b1","3.6","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7","3.8","3.8.1","3.9","3.9.1","3.9.2","3.9.3","3.9.4","3.9b1"],"fixed":["3.10.0"],"provider":"osv","source":"PYSEC-2026-3731","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.2-1","3.9.3-1","3.10.0-1","3.10.1-1","3.10.3-1"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-infra-legacy%2Ftrusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0~b9-0ubuntu4","2.0~b9-0ubuntu4.1~esm2","2.0~b9-0ubuntu4.1~esm4","2.0~b9-0ubuntu4.1~esm5","2.0~b9-0ubuntu4.1~esm6"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps-legacy%2Fxenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.4-1","3.0.5-1","3.1-1","3.1-1ubuntu0.1","3.1-1ubuntu0.1+esm1","3.1-1ubuntu0.1+esm2","3.1-1ubuntu0.1+esm3","3.1-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.4-1","3.2.5-1","3.2.5-1ubuntu0.1","3.2.5-1ubuntu0.1+esm1","3.2.5-1ubuntu0.1+esm2","3.2.5-1ubuntu0.1+esm3","3.2.5-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.5-1","3.4.5-2","3.4.5-2ubuntu0.1~esm1","3.4.5-2ubuntu0.1~esm2","3.4.5-2ubuntu0.1~esm3","3.4.5-2ubuntu0.1~esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5-1","3.6.5-1","3.6.7-1","3.7-1","3.7-1ubuntu0.1~esm1","3.7-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.8.1-1","3.8.1-1ubuntu0.1~esm1","3.8.1-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fresolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.1-2","3.9.1-2build1","3.9.2-1","3.9.2-1ubuntu0.1~esm1","3.9.2-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Exploit Intelligence","cpe":"cpe:/a:redhat:exploit_intelligence:0","status":"affected","packages":["exploit-intelligence-tech-preview/vulnerability-analysis-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"affected","packages":["lightspeed-core/lightspeed-stack-rhel9","lightspeed-core/rag-tool-cpu-rhel9","lightspeed-core/rag-tool-cuda-12.9-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"affected","packages":["openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9","openshift-lightspeed/lightspeed-ocp-rag-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-25/lightspeed-chatbot-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-llama-stack-core-rhel9","rhoai/odh-ogx-core-rhel9","rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-ta-lmes-job-rhel9","rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9","rhoai/odh-trustyai-nemo-guardrails-server-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9"],"package_count":7,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-65915","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-65915","license":"CC-BY-4.0","published_at":"2026-08-22T14:12:41.391Z","modified_at":"2026-08-24T19:20:52.747Z","summary":"NLTK before 3.10.0 Arbitrary File Read via FileSystemPathPointer","details":"NLTK versions before 3.10.0 contain a logic bug in FileSystemPathPointer.open() where the sandbox validation check compares a normalized path against itself, making the security check permanently inert. Attackers can pass file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user, including credentials and configuration files.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"CVE-2026-65915"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2026-65915"}],"affected":[{"ecosystem":"CVE","package":"nltk/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0"}]}],"fixed":["3.10.0"],"provider":"cvelistv5","source":"CVE-2026-65915","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/nltk/nltk/security/advisories/GHSA-72r2-7mfr-5xr9"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer"}]},{"provider":"nvd","source_id":"CVE-2026-65915","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65915","severity":[],"affected":[{"ecosystem":"NVD","package":"nltk:nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0"}]}],"fixed":["3.10.0"],"provider":"nvd","source":"CVE-2026-65915","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-65915","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-65915","published_at":"2026-08-22T15:16:19.5Z","modified_at":"2026-10-15T09:47:44.905779Z","details":"NLTK versions before 3.10.0 contain a logic bug in FileSystemPathPointer.open() where the sandbox validation check compares a normalized path against itself, making the security check permanently inert. Attackers can pass file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user, including credentials and configuration files.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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","source":"DEBIAN-CVE-2026-65915"}],"affected":[{"ecosystem":"Debian:12","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0-1","3.10.1-1","3.10.3-1","3.8-1","3.8.1-1","3.9.1-1","3.9.1-2","3.9.2-1","3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-65915","relation":"self"},{"ecosystem":"Debian:13","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0-1","3.10.1-1","3.10.3-1","3.9.1-2","3.9.2-1","3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-65915","relation":"self"},{"ecosystem":"Debian:14","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0-1"}]}],"versions":["3.9.1-2","3.9.2-1","3.9.3-1"],"fixed":["3.10.0-1"],"provider":"osv","source":"DEBIAN-CVE-2026-65915","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-65915"}]},{"provider":"osv","source_id":"GHSA-72r2-7mfr-5xr9","relation":"self","url":"https://osv.dev/vulnerability/GHSA-72r2-7mfr-5xr9","license":"CC-BY-4.0","published_at":"2026-09-08T15:27:12Z","modified_at":"2026-09-08T15:46:56.329043Z","summary":"NLTK: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocol","details":"### Summary\n\nThere's a logic bug in `FileSystemPathPointer.open()` inside `nltk/data.py`\nthat makes the sandbox check permanently inert. The guard condition is always\n`False` — meaning any file the process can read is accessible by passing a\n`file://` URL to `nltk.data.load()`.\n\n---\n\n### Details\n\nIn `nltk/data.py`, `FileSystemPathPointer.open()` was patched at some point\nwith a comment saying \"SECURITY PATCH ENFORCING SANDBOX\", but the check\ndoesn't work:\n```python\ndef open(self, encoding=None):\n    path = os.path.normpath(self._path)\n\n    # Block raw absolute reads such as \"/\" \"C:\\\\Windows\" etc.\n    if os.path.isabs(path) and path != os.path.normpath(self._path):\n        raise ValueError(f\"Direct absolute file access blocked: {path}\")\n\n    stream = open(self._path, \"rb\")\n```\n\n`path` is set to `os.path.normpath(self._path)` on line 1, then compared\nagainst `os.path.normpath(self._path)` again in the condition. They are\nalways equal. The `ValueError` never fires.\n\nOn top of that, `__init__` already calls `os.path.abspath()` before storing\n`self._path`, so it's normalized before `open()` is even called. Running\n`normpath` on it again changes nothing.\n\nThe `stream = open(self._path, \"rb\")` line is always reached regardless of\nwhat path was passed in.\n\n---\n\n### PoC\n\nTested on Python 3.11, NLTK 3.9.1, Ubuntu 22.04.\n```python\nimport nltk\nfrom nltk.data import FileSystemPathPointer\n\n# direct construction\nptr = FileSystemPathPointer(\"/etc/passwd\")\nwith ptr.open() as f:\n    print(f.read(300))\n\n# via load() using file:// URL\ndata = nltk.data.load(\"file:///etc/passwd\", format=\"raw\")\nprint(data[:300])\n```\n\nBoth print file contents. No exception is raised.\n\n---\n\n### Impact\n\nAny app that lets users influence the string passed to `nltk.data.load()` or\n`nltk.data.find()` is exposed — web APIs, notebook servers, multi-tenant\npipelines. An attacker can read any file the process user has access to:\n`/etc/passwd`, `.env` files, private keys, `~/.aws/credentials`, etc.\n\n## Suggested Fix\n\n**File:** `nltk/data.py` — `FileSystemPathPointer.open()` (lines 378–390)\n\n### What's wrong\n\nLine 387 compares `normpath(self._path)` against itself — always equal,\nso the `ValueError` never fires. The check is dead code.\n`__init__` already calls `abspath()` on construction, so re-running\n`normpath` inside `open()` changes nothing either.\n\n---\n\n### Fix\n\nValidate against the actual list of permitted data directories instead:\n```python\ndef open(self, encoding=None):\n    import nltk.data as _d\n    allowed = [os.path.abspath(p) for p in _d.path if p]\n    if allowed and not any(\n        os.path.commonpath([self._path, r]) == r for r in allowed\n    ):\n        raise ValueError(\n            f\"Access outside nltk_data blocked: {self._path!r}\"\n        )\n    stream = open(self._path, \"rb\")\n    if encoding is not None:\n        stream = SeekableUnicodeStreamReader(stream, encoding)\n    return stream\n```\n\n---\n\n### Why `commonpath` not `startswith`\n\n`startswith` is bypassable by a path that shares a prefix:\n```\n/tmp/nltk_data_evil\".startswith(\"/tmp/nltk_data\") → True  ✗\ncommonpath([\"/tmp/nltk_data_evil\", \"/tmp/nltk_data\"]) → \"/tmp\"  ✓\n```\n\n---\n\n### Diff\n```diff\n-    path = os.path.normpath(self._path)\n-    if os.path.isabs(path) and path != os.path.normpath(self._path):\n-        raise ValueError(f\"Direct absolute file access blocked: {path}\")\n-\n+    import nltk.data as _d\n+    allowed = [os.path.abspath(p) for p in _d.path if p]\n+    if allowed and not any(\n+        os.path.commonpath([self._path, r]) == r for r in allowed\n+    ):\n+        raise ValueError(f\"Access outside nltk_data blocked: {self._path!r}\")\n     stream = open(self._path, \"rb\")\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GHSA-72r2-7mfr-5xr9"}],"affected":[{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0"}]}],"versions":["0.8","0.9","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","2.0.1","2.0.1rc1","2.0.1rc2-git","2.0.1rc3","2.0.1rc4","2.0.2","2.0.3","2.0.4","2.0.5","2.0b4","2.0b5","2.0b6","2.0b7","2.0b8","2.0b9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1","3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3","3.4","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.5","3.5b1","3.6","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7","3.8","3.8.1","3.9","3.9.1","3.9.2","3.9.3","3.9.4","3.9b1"],"fixed":["3.10.0"],"provider":"osv","source":"GHSA-72r2-7mfr-5xr9","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-72r2-7mfr-5xr9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65915"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3522"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/69db9911fdba914ceeaca7aec6e892d1b14586a9"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3731.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/a510de7b-ffaf-4a83-9bf8-fa7e63f4bd2d"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer"}]},{"provider":"osv","source_id":"PYSEC-2026-3731","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-3731","license":"CC-BY-4.0","published_at":"2026-08-22T15:16:19.5Z","modified_at":"2026-09-01T09:15:03.471501Z","details":"NLTK versions before 3.10.0 contain a logic bug in FileSystemPathPointer.open() where the sandbox validation check compares a normalized path against itself, making the security check permanently inert. Attackers can pass file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user, including credentials and configuration files.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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","source":"PYSEC-2026-3731"}],"affected":[{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.0"}]}],"versions":["0.8","0.9","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","2.0.1","2.0.1rc1","2.0.1rc2-git","2.0.1rc3","2.0.1rc4","2.0.2","2.0.3","2.0.4","2.0.5","2.0b4","2.0b5","2.0b6","2.0b7","2.0b8","2.0b9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1","3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3","3.4","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.5","3.5b1","3.6","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7","3.8","3.8.1","3.9","3.9.1","3.9.2","3.9.3","3.9.4","3.9b1"],"fixed":["3.10.0"],"provider":"osv","source":"PYSEC-2026-3731","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer"},{"type":"EVIDENCE","url":"https://github.com/nltk/nltk/security/advisories/GHSA-72r2-7mfr-5xr9"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-65915","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-65915","license":"CC-BY-SA-4.0","published_at":"2026-08-22T15:16:00Z","modified_at":"2026-10-17T12:59:17.804243Z","details":"NLTK versions before 3.10.0 contain a logic bug in FileSystemPathPointer.open() where the sandbox validation check compares a normalized path against itself, making the security check permanently inert. Attackers can pass file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user, including credentials and configuration files.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"UBUNTU-CVE-2026-65915"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"UBUNTU-CVE-2026-65915"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-65915"}],"affected":[{"ecosystem":"Ubuntu:26.10","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.2-1","3.9.3-1","3.10.0-1","3.10.1-1","3.10.3-1"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-infra-legacy%2Ftrusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0~b9-0ubuntu4","2.0~b9-0ubuntu4.1~esm2","2.0~b9-0ubuntu4.1~esm4","2.0~b9-0ubuntu4.1~esm5","2.0~b9-0ubuntu4.1~esm6"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps-legacy%2Fxenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.4-1","3.0.5-1","3.1-1","3.1-1ubuntu0.1","3.1-1ubuntu0.1+esm1","3.1-1ubuntu0.1+esm2","3.1-1ubuntu0.1+esm3","3.1-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.4-1","3.2.5-1","3.2.5-1ubuntu0.1","3.2.5-1ubuntu0.1+esm1","3.2.5-1ubuntu0.1+esm2","3.2.5-1ubuntu0.1+esm3","3.2.5-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.5-1","3.4.5-2","3.4.5-2ubuntu0.1~esm1","3.4.5-2ubuntu0.1~esm2","3.4.5-2ubuntu0.1~esm3","3.4.5-2ubuntu0.1~esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5-1","3.6.5-1","3.6.7-1","3.7-1","3.7-1ubuntu0.1~esm1","3.7-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.8.1-1","3.8.1-1ubuntu0.1~esm1","3.8.1-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fresolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.1-2","3.9.1-2build1","3.9.2-1","3.9.2-1ubuntu0.1~esm1","3.9.2-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-65915","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-65915"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-65915"},{"type":"REPORT","url":"https://github.com/nltk/nltk/security/advisories/ghsa-72r2-7mfr-5xr9"},{"type":"REPORT","url":"https://security-tracker.debian.org/tracker/cve-2026-65915"},{"type":"REPORT","url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/65xxx/cve-2026-65915.json"},{"type":"REPORT","url":"https://nvd.nist.gov/vuln/detail/cve-2026-65915"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer"}]},{"provider":"redhat-vex","source_id":"CVE-2026-65915","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-65915","license":"CC-BY-4.0","published_at":"2026-08-22T14:12:41.391Z","modified_at":"2026-08-27T08:47:49.232983Z","summary":"nltk: NLTK: Arbitrary file read due to logic bug in FileSystemPathPointer","details":"A flaw was found in NLTK. A logic bug in the `FileSystemPathPointer.open()` function allows the sandbox validation check to be bypassed. A remote attacker can exploit this by providing specially crafted `file://` Uniform Resource Locators (URLs) to `nltk.data.load()`. This enables the attacker to read arbitrary files on the system, potentially leading to the disclosure of sensitive information such as credentials and configuration files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2026-65915"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-65915"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Exploit Intelligence","cpe":"cpe:/a:redhat:exploit_intelligence:0","status":"affected","packages":["exploit-intelligence-tech-preview/vulnerability-analysis-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"affected","packages":["lightspeed-core/lightspeed-stack-rhel9","lightspeed-core/rag-tool-cpu-rhel9","lightspeed-core/rag-tool-cuda-12.9-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"affected","packages":["openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9","openshift-lightspeed/lightspeed-ocp-rag-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-25/lightspeed-chatbot-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-llama-stack-core-rhel9","rhoai/odh-ogx-core-rhel9","rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-ta-lmes-job-rhel9","rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9","rhoai/odh-trustyai-nemo-guardrails-server-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9"],"package_count":7,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-65915"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-65915.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-65915"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2521343"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-65915"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65915"},{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-72r2-7mfr-5xr9"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/nltk/nltk/security/advisories/GHSA-72r2-7mfr-5xr9"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-65915"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65915"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3522"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/69db9911fdba914ceeaca7aec6e892d1b14586a9"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3731.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/a510de7b-ffaf-4a83-9bf8-fa7e63f4bd2d"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-65915"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-65915"},{"type":"REPORT","url":"https://github.com/nltk/nltk/security/advisories/ghsa-72r2-7mfr-5xr9"},{"type":"REPORT","url":"https://security-tracker.debian.org/tracker/cve-2026-65915"},{"type":"REPORT","url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/65xxx/cve-2026-65915.json"},{"type":"REPORT","url":"https://nvd.nist.gov/vuln/detail/cve-2026-65915"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-65915.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-65915"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2521343"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-65915","url":"https://www.cve.org/CVERecord?id=CVE-2026-65915","license":"CC-BY-4.0","modified_at":"2026-08-24T19:20:52.747Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-65915","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65915","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-65915","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-65915","modified_at":"2026-10-15T09:47:44.905779Z","relation":"self"},{"provider":"osv","source_id":"GHSA-72r2-7mfr-5xr9","url":"https://osv.dev/vulnerability/GHSA-72r2-7mfr-5xr9","license":"CC-BY-4.0","modified_at":"2026-09-08T15:46:56.329043Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-3731","url":"https://osv.dev/vulnerability/PYSEC-2026-3731","license":"CC-BY-4.0","modified_at":"2026-09-01T09:15:03.471501Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-65915","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-65915","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:59:17.804243Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-65915","url":"https://access.redhat.com/security/cve/CVE-2026-65915","license":"CC-BY-4.0","modified_at":"2026-08-27T08:47:49.232983Z","relation":"self"}]}
