{"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-33994 exists.","fix":"Upgrade locutus to 3.0.25 or later.","what":"CVE-2026-33994 is a medium-severity 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-33994 and fix it if it is affected.\n\nWhat it is: CVE-2026-33994 is a medium-severity 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-33994 exists.\n\nAffected packages and fixed versions:\n- locutus (npm): affected from 2.0.39; fixed in 3.0.25\n- locutus (npm): affected from 2.0.39; 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-33994/ (Markdown: https://insights.sbomify.com/CVE-2026-33994/index.md)","id":"CVE-2026-33994","markdown":"https://insights.sbomify.com/CVE-2026-33994/index.md","name":"CVE-2026-33994","record":{"aliases":["GHSA-vc8f-x9pp-wf5p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript stdlib library","requires_auth":"none","summary":"Attackers can pollute Object.prototype in the Locutus library by bypassing guards, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"locutus","vendor":"locutus"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/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. Starting in version 2.0.39 and prior to version 3.0.25, a prototype pollution vulnerability exists in the `parse_str` function of the npm package locutus. An attacker can pollute `Object.prototype` by overriding `RegExp.prototype.test` and then passing a crafted query string to `parse_str`, bypassing the prototype pollution guard. This vulnerability stems from an incomplete fix for CVE-2026-25521. The CVE-2026-25521 patch replaced the `String.prototype.includes()`-based guard with a `RegExp.prototype.test()`-based guard. However, `RegExp.prototype.test` is itself a writable prototype method that can be overridden, making the new guard bypassable in the same way as the original — trading one hijackable built-in for another. Version 3.0.25 contains an updated fix.","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 Prototype Pollution due to incomplete fix for CVE-2026-25521","id":"CVE-2026-33994","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"FreeRDP: Possible double free in kerberos_AcceptSecurityContext","id":"CVE-2026-33995"},"packages":[{"ecosystem":"npm","fixed":["3.0.25"],"introduced":["2.0.39"],"last_affected":[],"package":"locutus","purl":null,"source":"GHSA-vc8f-x9pp-wf5p"},{"ecosystem":"npm","fixed":["3.0.25"],"introduced":["2.0.39"],"last_affected":[],"package":"locutus","purl":"pkg:npm/locutus","source":"GHSA-vc8f-x9pp-wf5p"}],"prev":{"headline":"Locutus has Prototype Pollution via __proto__ Key Injection in unserialize()","id":"CVE-2026-33993"},"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.9,"headline":"Locutus has Prototype Pollution via __proto__ Key Injection in unserialize()","id":"CVE-2026-33993","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":"total"},"state":"PUBLISHED","updated":"2026-04-01","vendors":["locutusjs"]},"summary":"Attackers can pollute Object.prototype in the Locutus library by bypassing guards, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-33994/"}