CVE-2026-29091

High

Description

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductLocutus
PublishedMar 6, 2026
First seenMar 6, 2026
Weakness typeCWE-95CWE-95

How to fix

Update
  • locutus locutus3.0.0 or later
  • locutus3.0.0 or later

Affected products

ProductAffected versionsFixed in
locutus locutusv < 3.0.03.0.0
locutusnpmv < 3.0.03.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.