8.1High

CVE-2026-29091Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection

locutusjs locutus; Red Hat Logging Subsystem for Red Hat OpenShift Published: (8 months ago)

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.

Weakness (CWE): CWE-95CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
locutus locutus < 3.0.0
locutusjs locutus < 3.0.0
Red Hat Logging Subsystem for Red Hat OpenShift all versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:locutus:locutus:*:*:*:*:*:node.js:*:* < 3.0.0