Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-95.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| locutusjs | locutus | before 3.0.0 | 3.0.0 | Patch available | CNA |
| — | locutus (npm) | before 3.0.0 | 3.0.0 | Patch available | GHSA-fp25-p6mj-qqg6 |
- locutus Vendorlocutusjs Affected before 3.0.0 Fixed in 3.0.0 Patch available CNA
- locutus (npm) Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available GHSA-fp25-p6mj-qqg6
Remediation
- Fix · CNA locutus (locutusjs) Fixed in 3.0.0
- Fix · GHSA-fp25-p6mj-qqg6 locutus (npm) Fixed in 3.0.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Logging Subsystem for Red Hat OpenShift | Affected | No fix planned: Will not fix |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-29091
- 2026-10-03 Alias added: GHSA-fp25-p6mj-qqg6
References
More locutusjs Locutus vulnerabilities
- TI-2026-24833 Locutus: RCE via unsanitized input in create_function() CVSS 3.1CRITICAL 9.8
- TI-2026-26333 Locutus has Prototype Pollution via __proto__ Key Injection in unserialize() CVSS 4.0MEDIUM 6.9
- TI-2026-26334 Locutus Prototype Pollution due to incomplete fix for CVE-2026-25521 CVSS 4.0MEDIUM 6.3
- TI-2020-06239 Prototype pollution in locutus CVSS 3.1CRITICAL 9.8
- TI-2026-20630 Locutus is vulnerable to Prototype Pollution CVSS 4.0CRITICAL 9.4
- TI-2021-06085 Regular expression denial of service (ReDoS) in locutus CVSS 3.1HIGH 7.5
Sources
- CVE-2026-29091 · CVE Program
- CVE-2026-29091 · NVD
- FIRST EPSS
- GHSA-fp25-p6mj-qqg6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-29091 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences