{"answers":{"affected":"3 open source packages ship an affected version, including sglang. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3989 exists.","fix":"Upgrade sglang to 0.5.10 or later.","what":"CVE-2026-3989 is a high-severity unsafe deserialization vulnerability in SGLang, published on 12 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-3989 and fix it if it is affected.\n\nWhat it is: CVE-2026-3989 is a high-severity unsafe deserialization vulnerability in SGLang, published on 12 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3989 exists.\n\nAffected packages and fixed versions:\n- sglang (PyPI): affected all versions; fixed in 0.5.10\n- sglang (PyPI): affected all versions; fixed in 0.5.10\n- sglang (PyPI): affected all versions; fixed in 0.5.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-3989/ (Markdown: https://insights.sbomify.com/CVE-2026-3989/index.md)","id":"CVE-2026-3989","markdown":"https://insights.sbomify.com/CVE-2026-3989/index.md","name":"CVE-2026-3989","record":{"aliases":["GHSA-hvwj-8w5g-28rg","PYSEC-2026-3063"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SGLang Python library","requires_auth":"none","summary":"An attacker can execute arbitrary code on the host by providing a malicious pickle file to the SGLang replay_request_dump.py script.","user_interaction":"required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"sglang","vendor":"lmsys"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"SGLangs `replay_request_dump.py` contains an insecure pickle.load() without validation and proper deserialization. An attacker can take advantage of this by providing a malicious .pkl file, which will execute the attackers code on the device running the script.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"CVE-2026-3989","id":"CVE-2026-3989","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"CesiumGS CesiumJS standalone.html cross site scripting","id":"CVE-2026-3990"},"packages":[{"ecosystem":"PyPI","fixed":["0.5.10"],"introduced":["0"],"last_affected":[],"package":"sglang","purl":null,"source":"GHSA-hvwj-8w5g-28rg"},{"ecosystem":"PyPI","fixed":["0.5.10"],"introduced":["0"],"last_affected":[],"package":"sglang","purl":"pkg:pypi/sglang","source":"GHSA-hvwj-8w5g-28rg"},{"ecosystem":"PyPI","fixed":["0.5.10"],"introduced":["0"],"last_affected":[],"package":"sglang","purl":"pkg:pypi/sglang","source":"PYSEC-2026-3063"}],"prev":{"headline":"Inefficient Algorithmic Complexity in GitLab","id":"CVE-2026-3988"},"products":["SGLang"],"published":"2026-03-12","related":[{"cvss_score":9.8,"headline":"CVE-2026-15969","id":"CVE-2026-15969","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":9.8,"headline":"CVE-2026-15971","id":"CVE-2026-15971","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":9.8,"headline":"CVE-2026-15976","id":"CVE-2026-15976","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":9.8,"headline":"CVE-2026-7301","id":"CVE-2026-7301","kev_date_added":null,"published":"2026-05-18"},{"cvss_score":9.8,"headline":"CVE-2026-7304","id":"CVE-2026-7304","kev_date_added":null,"published":"2026-05-18"},{"cvss_score":9.8,"headline":"CVE-2026-5760","id":"CVE-2026-5760","kev_date_added":null,"published":"2026-04-20"},{"cvss_score":9.8,"headline":"CVE-2026-3059","id":"CVE-2026-3059","kev_date_added":null,"published":"2026-03-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["SGLang"]},"summary":"An attacker can execute arbitrary code on the host by providing a malicious pickle file to the SGLang replay_request_dump.py script.","url":"https://insights.sbomify.com/CVE-2026-3989/"}