{"answers":{"affected":"2 open source packages ship an affected version, including locutus. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33993 exists.","fix":"Upgrade locutus to 3.0.25 or later.","what":"CVE-2026-33993 is a medium-severity unsafe deserialization vulnerability in locutusjs locutus, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-33993 and fix it if it is affected.\n\nWhat it is: CVE-2026-33993 is a medium-severity unsafe deserialization vulnerability in locutusjs locutus, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33993 exists.\n\nAffected packages and fixed versions:\n- locutus (npm): affected all versions; fixed in 3.0.25\n- locutus (npm): affected all versions; fixed in 3.0.25\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-33993/ (Markdown: https://insights.sbomify.com/CVE-2026-33993/index.md)","id":"CVE-2026-33993","markdown":"https://insights.sbomify.com/CVE-2026-33993/index.md","name":"CVE-2026-33993","record":{"aliases":["GHSA-4mph-v827-f877"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","other"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript stdlib library","requires_auth":"none","summary":"Attackers can cause denial of service and property injection via prototype pollution in the unserialize function of the Locutus JavaScript library.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"locutus","vendor":"locutus"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to version 3.0.25, the `unserialize()` function in `locutus/php/var/unserialize` assigns deserialized keys to plain objects via bracket notation without filtering the `__proto__` key. When a PHP serialized payload contains `__proto__` as an array or object key, JavaScript's `__proto__` setter is invoked, replacing the deserialized object's prototype with attacker-controlled content. This enables property injection, for...in propagation of injected properties, and denial of service via built-in method override. This is distinct from the previously reported prototype pollution in `parse_str` (GHSA-f98m-q3hr-p5wq, GHSA-rxrv-835q-v5mh) — `unserialize` is a different function with no mitigation applied. Version 3.0.25 patches the issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Locutus has Prototype Pollution via __proto__ Key Injection in unserialize()","id":"CVE-2026-33993","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Locutus Prototype Pollution due to incomplete fix for CVE-2026-25521","id":"CVE-2026-33994"},"packages":[{"ecosystem":"npm","fixed":["3.0.25"],"introduced":["0"],"last_affected":[],"package":"locutus","purl":null,"source":"GHSA-4mph-v827-f877"},{"ecosystem":"npm","fixed":["3.0.25"],"introduced":["0"],"last_affected":[],"package":"locutus","purl":"pkg:npm/locutus","source":"GHSA-4mph-v827-f877"}],"prev":{"headline":"pyLoad: Server-Side Request Forgery via Download Link Submission Enables Cloud Metadata Exfiltration","id":"CVE-2026-33992"},"products":["locutus"],"published":"2026-03-27","related":[{"cvss_score":9.8,"headline":"Locutus: RCE via unsanitized input in create_function()","id":"CVE-2026-32304","kev_date_added":null,"published":"2026-03-12"},{"cvss_score":9.8,"headline":"Prototype Pollution","id":"CVE-2020-7719","kev_date_added":null,"published":"2020-09-01"},{"cvss_score":9.4,"headline":"Locutus is vulnerable to Prototype Pollution","id":"CVE-2026-25521","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":8.1,"headline":"Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection","id":"CVE-2026-29091","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":6.3,"headline":"Locutus Prototype Pollution due to incomplete fix for CVE-2026-25521","id":"CVE-2026-33994","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":5.3,"headline":"Regular Expression Denial of Service (ReDoS)","id":"CVE-2021-23392","kev_date_added":null,"published":"2021-06-08"}],"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":"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-30","vendors":["locutusjs"]},"summary":"Attackers can cause denial of service and property injection via prototype pollution in the unserialize function of the Locutus JavaScript library.","url":"https://insights.sbomify.com/CVE-2026-33993/"}