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.
References
| Link | Resource |
|---|---|
| https://github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de500ad | Patch |
| https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6 | Exploit Mitigation Vendor Advisory |
| https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6 | Exploit Mitigation Vendor Advisory |
Configurations
History
13 Mar 2026, 19:07
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
|
| First Time |
Locutus
Locutus locutus |
|
| CPE | cpe:2.3:a:locutus:locutus:*:*:*:*:*:node.js:*:* | |
| References | () https://github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de500ad - Patch | |
| References | () https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6 - Exploit, Mitigation, Vendor Advisory |
06 Mar 2026, 19:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6 - |
06 Mar 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-06 18:16
Updated : 2026-03-13 19:07
NVD link : CVE-2026-29091
Mitre link : CVE-2026-29091
CVE.ORG link : CVE-2026-29091
JSON object : View
Products Affected
locutus
- locutus
CWE
CWE-95
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
