p PatchFirst

PatchFirst · Latest vulnerabilities

locutus vulnerabilities

Vulnerabilities published for locutus in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 8

  1. CVE-2026-33994

    Medium · CVSS 6.3EPSS 0.57%Fix available

    Locutus Prototype Pollution due to incomplete fix for CVE-2026-25521

    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.te

    • Update to 3.0.25
    Published Updated
  2. CVE-2026-33993

    Medium · CVSS 6.9EPSS 0.59%Fix available

    Locutus has Prototype Pollution via __proto__ Key Injection in unserialize()

    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 previous

    • Update to 3.0.25
    Published Updated
  3. CVE-2026-32304

    Critical · CVSS 9.8EPSS 0.59%Fix available

    Locutus: RCE via unsanitized input in create_function()

    Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to 3.0.14, the create_function(args, code) function passes both parameters directly to the Function constructor without any sanitization, allowing arbitrary code execution. This is distinct from CVE-2026-29091 which was call_user_func_array using eval() in v2.x. This finding affects create_function using new Function() in v3.x. This vulnerability is fixed in 3.0.14.

    • Update to 3.0.14
    Published Updated
  4. CVE-2026-29091

    High · CVSS 8.1EPSS 0.89%Fix available

    Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection

    Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to version 3.0.0, a remote code execution (RCE) flaw was discovered in the locutus project, specifically within the call_user_func_array function implementation. The vulnerability allows an attacker to inject arbitrary JavaScript code into the application's runtime environment. This issue stems from an insecure implementation of the call_user_func_array function (and its wrapper call_user_func), which fails to properly validate all components of a callback array before passing them to eval(). This issue has been patched in version 3.0.0.

    • Update to 3.0.0
    Published Updated
  5. CVE-2026-25521

    Critical · CVSS 9.4EPSS 0.31%Fix available

    Locutus is vulnerable to Prototype Pollution

    Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. In versions from 2.0.12 to before 2.0.39, a prototype pollution vulnerability exists in locutus. Despite a previous fix that attempted to mitigate prototype pollution by checking whether user input contained a forbidden key, it is still possible to pollute Object.prototype via a crafted input using String.prototype. This issue has been patched in version 2.0.39.

    • Update to 2.0.39
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →