CVE-2026-29091CWE-95

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

High · published March 6, 2026

CVSS v3.1
8.1
EPSS
1%
Percentile
63.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01019 · 63.0th percentile
Weakness
CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2026-03-06T17:48Z
EPSS history
Timeline
  • 06 MAR 17:48Z
    Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection
    cvelistv5