Critical severity · published Mar 27, 2026
CVE-2026-33994
Locutus Prototype Pollution due to incomplete fix for CVE-2026-25521
9.8
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LO
locutus · locutusjs
>= 2.0.39, < 3.0.25 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-33994
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-33994
Patch
https://github.com/locutusjs/locutus/commit/345a6211e1e6f939f96a7090bfeff642c9fcf9e4
Issue Tracking
https://github.com/locutusjs/locutus/pull/597
Release Notes
https://github.com/locutusjs/locutus/releases/tag/v3.0.25
Exploit
https://github.com/locutusjs/locutus/security/advisories/GHSA-vc8f-x9pp-wf5p
More from locutus
9.8
CVE-2026-33993
Locutus has Prototype Pollution via __proto__ Key Injection in unserialize()
9.8
CVE-2026-32304
Locutus: RCE via unsanitized input in create_function()
8.8
CVE-2026-25521
Locutus is vulnerable to Prototype Pollution
8.1
CVE-2026-29091
Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection
