{"id":"CVE-2026-78683","aliases":["DEBIAN-CVE-2026-78683","GHSA-rhp5-r9x4-f5g2","PYSEC-2026-3734"],"summary":"NLTK before 3.10.0 Remote Code Execution via Unsafe Pickle Deserialization","published_at":"2026-08-25T01:30:39.451Z","modified_at":"2026-11-19T11:11:40Z","products":[],"rating":{"severity":"critical","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005100000184029341,"percentile":0.4430600106716156,"date":"2026-11-19T00:00:00Z"},"priority":11.1,"details":"NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the TransitionParser.parse() method (nltk/parse/transitionparser.py). The method calls pickle_load() with the default restricted=False, routing deserialization through WarningUnpickler, which does not override find_class() and therefore permits arbitrary class resolution. When an application loads an attacker-crafted model file, embedded pickle gadget chains execute arbitrary Python code with the privileges of the user running the application. NLTK provides a RestrictedUnpickler for safe deserialization, but it is not used by production code paths. Fixed in 3.10.0.","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-78683","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-78683","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-78683","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-78683","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-78683","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-rhp5-r9x4-f5g2","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-3734","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"affected","packages":["lightspeed-core/lightspeed-stack-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"not_affected","packages":["lightspeed-core/rag-tool-cpu-rhel9","lightspeed-core/rag-tool-cuda-12.9-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-78683"},{"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":"Affected","provider":"redhat-vex","source":"CVE-2026-78683"},{"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-78683"},{"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":"Will not fix","provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-llama-stack-core-rhel9","rhoai/odh-ogx-core-rhel9","rhoai/odh-trustyai-nemo-guardrails-server-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"fixed","packages":["rhoai/odh-ta-lmes-job-rhel9","rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9"],"package_count":2,"fixed":[],"advisories":["RHSA-2026:84734"],"provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"not_affected","packages":["rhoai/odh-ai-gateway-payload-processing-rhel9","rhoai/odh-automl-rhel9","rhoai/odh-autorag-rhel9","rhoai/odh-built-in-detector-rhel9","rhoai/odh-cli-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-eval-hub-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-autogluon-server-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-llmisvc-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kube-auth-proxy-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9"],"package_count":104,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-78683"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-78683","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-78683","license":"CC-BY-4.0","published_at":"2026-08-25T01:30:39.451Z","modified_at":"2026-08-25T15:19:32.286Z","summary":"NLTK before 3.10.0 Remote Code Execution via Unsafe Pickle Deserialization","details":"NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the TransitionParser.parse() method (nltk/parse/transitionparser.py). The method calls pickle_load() with the default restricted=False, routing deserialization through WarningUnpickler, which does not override find_class() and therefore permits arbitrary class resolution. When an application loads an attacker-crafted model file, embedded pickle gadget chains execute arbitrary Python code with the privileges of the user running the application. NLTK provides a RestrictedUnpickler for safe deserialization, but it is not used by production code paths. Fixed in 3.10.0.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","source":"CVE-2026-78683"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"CVE-2026-78683"}],"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-78683","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/nltk/nltk/security/advisories/GHSA-rhp5-r9x4-f5g2"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-remote-code-execution-via-unsafe-pickle-deserialization"}]},{"provider":"nvd","source_id":"CVE-2026-78683","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78683","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-78683","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-78683","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-78683","published_at":"2026-08-25T02:16:53.033Z","modified_at":"2026-10-13T09:47:30.247671Z","details":"NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the TransitionParser.parse() method (nltk/parse/transitionparser.py). The method calls pickle_load() with the default restricted=False, routing deserialization through WarningUnpickler, which does not override find_class() and therefore permits arbitrary class resolution. When an application loads an attacker-crafted model file, embedded pickle gadget chains execute arbitrary Python code with the privileges of the user running the application. NLTK provides a RestrictedUnpickler for safe deserialization, but it is not used by production code paths. Fixed in 3.10.0.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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-78683"}],"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-78683","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-78683","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-78683","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-78683"}]},{"provider":"osv","source_id":"GHSA-rhp5-r9x4-f5g2","relation":"self","url":"https://osv.dev/vulnerability/GHSA-rhp5-r9x4-f5g2","license":"CC-BY-4.0","published_at":"2026-09-08T16:41:11Z","modified_at":"2026-09-08T16:45:04.193165Z","summary":"NLTK: Unsafe Pickle Deserialization in TransitionParser Allows Remote Code Execution","details":"## Summary\n\nThe NLTK library's `TransitionParser.parse()` method deserializes model files using `pickle_load()` with the default `restricted=False` parameter, allowing arbitrary Python code execution when loading a malicious model file. The library provides a `RestrictedUnpickler` class for safe deserialization, but it is never used by production code paths, leaving the vulnerability unpatched.\n\n## Root Cause\n\n**File:** `nltk/parse/transitionparser.py` (lines 542-557)\n\nThe `parse()` method calls `pickle_load(f)` without `restricted=True`, routing through `WarningUnpickler` which inherits from `pickle.Unpickler` and does NOT override `find_class()`. This allows arbitrary class/function resolution during unpickling, enabling RCE via standard pickle gadgets (e.g., `os.system`, `subprocess.Popen`).\n\n**Vulnerability chain in `nltk/picklesec.py`:**\n\n```python\ndef pickle_load(file, *, context=None, restricted=False):\n    if restricted:\n        return RestrictedUnpickler(file).load()  # Safe: blocks all globals\n    return WarningUnpickler(file, context=context).load()  # VULNERABLE PATH\n```\n\n`WarningUnpickler` only emits a warning but does NOT block unsafe class loading — it calls `super().load()` which is standard `pickle.Unpickler.load()`.\n\n**Why this is not by design:**\n- NLTK intentionally created `RestrictedUnpickler` to block unsafe deserialization\n- The `restricted=True` parameter exists in the API but is **never used** by any production code path\n- All call sites use the default `restricted=False`: `transitionparser.py:557`, `parse/chartparser_app.py:816`, `parse/chartparser_app.py:2273`, `parse/chartparser_app.py:2311`\n\n## Attack Surface\n\n**Entry point:** `TransitionParser().parse(depgraphs, modelFile)` receives a filesystem path with no validation.\n\n**Exploitation path:**\n1. Attacker places a malicious pickle file at a known or attacker-controlled location\n2. Victim calls `parser.parse(sentences, \"/path/to/malicious_model.pkl\")`\n3. `pickle_load()` deserializes the file with `restricted=False` (default)\n4. Standard pickle gadget chain executes arbitrary Python code with victim's privileges\n\n**Impact:** Remote code execution with the privileges of the user running the NLTK-dependent application. Affects researchers, data scientists, and automated ML pipelines using NLTK for parsing tasks.\n\n## Steps to Reproduce\n\n### Environment\n- NLTK version: 3.8.1+ (all versions with `transitionparser.py`)\n- Python 3.6+\n- No special dependencies required\n\n### Reproduction\n\n1. Create a malicious pickle file that uses `__reduce__` to execute a system command during deserialization.\n\n2. Call `TransitionParser().parse([], '/path/to/malicious_model.pkl')`.\n\n3. The `pickle_load(f)` call at `transitionparser.py:557` uses `restricted=False` by default, routing through `WarningUnpickler`, which does not override `find_class()` and permits full class resolution — executing the embedded gadget.\n\n4. Arbitrary code executes with the victim's privileges.\n\n### Proof That the Fix Works\n\nChanging line 557 in `transitionparser.py` from:\n```python\nmodel = pickle_load(f)\n```\nto:\n```python\nmodel = pickle_load(f, restricted=True)\n```\ncauses `RestrictedUnpickler` to raise an `UnpicklingError` and block execution, confirming the safe path prevents the attack.\n\n### Working PoC\n\n```python\nimport pickle\nimport os\nfrom nltk.parse.transitionparser import TransitionParser\n\n# Create malicious pickle with RCE payload\nclass Exploit:\n    def __reduce__(self):\n        return (os.system, ('touch /tmp/nltk_poc_triggered',))\n\nwith open('/tmp/malicious_model.pkl', 'wb') as f:\n    pickle.dump(Exploit(), f)\n\n# Trigger the vulnerable code path (requires algorithm argument in ≤ 3.9.4)\nparser = TransitionParser('arc-standard')      # or 'arc-eager'\nparser.parse([], '/tmp/malicious_model.pkl')   # loads and unpickles unsafely\n\n# Exploit succeeds: file /tmp/nltk_poc_triggered is created\n```\n\nOn NLTK ≥ 3.10.0 (patched), the same code fails with:\n\n```\n_pickle.UnpicklingError: global 'posix.system' is not in the pickle allowlist\n```\n\nThis proves the vulnerability exists in versions ≤ 3.9.4 and is fixed in 3.10.0+.\n\n## Recommended Fix\n\nChange all call sites to use `restricted=True`:\n\n| File | Line | Before | After |\n|------|------|--------|-------|\n| `nltk/parse/transitionparser.py` | 557 | `pickle_load(f)` | `pickle_load(f, restricted=True)` |\n| `nltk/parse/chartparser_app.py` | 816 | `pickle_load(model_data_file)` | `pickle_load(model_data_file, restricted=True)` |\n| `nltk/parse/chartparser_app.py` | 2273 | `pickle_load(file)` | `pickle_load(file, restricted=True)` |\n| `nltk/parse/chartparser_app.py` | 2311 | `pickle_load(fp)` | `pickle_load(fp, restricted=True)` |\n\n**Note:** This fix may affect loading older sklearn models. A more robust approach would implement a module allowlist in `RestrictedUnpickler.find_class()`.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","source":"GHSA-rhp5-r9x4-f5g2"}],"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-rhp5-r9x4-f5g2","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-rhp5-r9x4-f5g2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78683"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3631"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/f26b3753038d937b68145daf15e9636f8451053c"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3734.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-remote-code-execution-via-unsafe-pickle-deserialization"}]},{"provider":"osv","source_id":"PYSEC-2026-3734","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-3734","license":"CC-BY-4.0","published_at":"2026-08-25T02:16:53.033Z","modified_at":"2026-09-01T09:15:02.843391Z","details":"NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the TransitionParser.parse() method (nltk/parse/transitionparser.py). The method calls pickle_load() with the default restricted=False, routing deserialization through WarningUnpickler, which does not override find_class() and therefore permits arbitrary class resolution. When an application loads an attacker-crafted model file, embedded pickle gadget chains execute arbitrary Python code with the privileges of the user running the application. NLTK provides a RestrictedUnpickler for safe deserialization, but it is not used by production code paths. Fixed in 3.10.0.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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-3734"}],"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-3734","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nltk-before-remote-code-execution-via-unsafe-pickle-deserialization"},{"type":"EVIDENCE","url":"https://github.com/nltk/nltk/security/advisories/GHSA-rhp5-r9x4-f5g2"}]},{"provider":"redhat-vex","source_id":"CVE-2026-78683","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-78683","license":"CC-BY-4.0","published_at":"2026-08-25T01:30:39.451Z","modified_at":"2026-11-19T11:11:40Z","summary":"nltk: NLTK before 3.10.0 Remote Code Execution via Unsafe Pickle Deserialization","details":"A flaw was found in NLTK. This vulnerability allows arbitrary code execution due to unsafe deserialization, where data loaded from storage is converted back into active objects without adequate restrictions. When the TransitionParser component processes a model file, it fails to enforce safe loading constraints. An attacker who provides a maliciously crafted model file can trigger the execution of arbitrary code with the permissions of the user or application running NLTK.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"CVE-2026-78683"},{"type":"Red Hat","score":"Important","source":"CVE-2026-78683"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"affected","packages":["lightspeed-core/lightspeed-stack-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"not_affected","packages":["lightspeed-core/rag-tool-cpu-rhel9","lightspeed-core/rag-tool-cuda-12.9-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-78683"},{"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":"Affected","provider":"redhat-vex","source":"CVE-2026-78683"},{"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-78683"},{"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":"Will not fix","provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-llama-stack-core-rhel9","rhoai/odh-ogx-core-rhel9","rhoai/odh-trustyai-nemo-guardrails-server-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"fixed","packages":["rhoai/odh-ta-lmes-job-rhel9","rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9"],"package_count":2,"fixed":[],"advisories":["RHSA-2026:84734"],"provider":"redhat-vex","source":"CVE-2026-78683"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"not_affected","packages":["rhoai/odh-ai-gateway-payload-processing-rhel9","rhoai/odh-automl-rhel9","rhoai/odh-autorag-rhel9","rhoai/odh-built-in-detector-rhel9","rhoai/odh-cli-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-eval-hub-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-autogluon-server-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-llmisvc-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kube-auth-proxy-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9"],"package_count":104,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-78683"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-78683.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-78683"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2523216"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-78683"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78683"},{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-rhp5-r9x4-f5g2"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-remote-code-execution-via-unsafe-pickle-deserialization"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/nltk/nltk/security/advisories/GHSA-rhp5-r9x4-f5g2"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-remote-code-execution-via-unsafe-pickle-deserialization"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-78683"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78683"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3631"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/f26b3753038d937b68145daf15e9636f8451053c"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3734.yaml"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-78683.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-78683"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2523216"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-78683"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-78683","url":"https://www.cve.org/CVERecord?id=CVE-2026-78683","license":"CC-BY-4.0","modified_at":"2026-08-25T15:19:32.286Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-78683","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78683","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-78683","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-78683","modified_at":"2026-10-13T09:47:30.247671Z","relation":"self"},{"provider":"osv","source_id":"GHSA-rhp5-r9x4-f5g2","url":"https://osv.dev/vulnerability/GHSA-rhp5-r9x4-f5g2","license":"CC-BY-4.0","modified_at":"2026-09-08T16:45:04.193165Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-3734","url":"https://osv.dev/vulnerability/PYSEC-2026-3734","license":"CC-BY-4.0","modified_at":"2026-09-01T09:15:02.843391Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-78683","url":"https://access.redhat.com/security/cve/CVE-2026-78683","license":"CC-BY-4.0","modified_at":"2026-11-19T11:11:40Z","relation":"self"}]}
