CVE-2026-29091 Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Red Hat
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.
Upgrade path
10 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat logging | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/elasticsearch-operator-bundle(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/elasticsearch-proxy-rhel9(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/elasticsearch-rhel9-operator(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/elasticsearch6-rhel9(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/kibana6-rhel8(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/logging-curator5-rhel9(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| locutus | < 3.0.0 | 3.0.0 | Fixed |
| npm locutus(npm) | < 3.0.0; <= 2.0.39 | 3.0.0 | Fixed |
| locutusjs locutus | = < 3.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| locutusjs locutus | = < 3.0.0 | No fix listed |
| redhat logging | All versions | No fix listed |
| npm locutus(npm) | <= 2.0.39 | No fix listed |
| redhat/openshift-logging/elasticsearch6-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/elasticsearch-operator-bundle(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/elasticsearch-proxy-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/elasticsearch-rhel9-operator(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/kibana6-rhel8(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/logging-curator5-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| locutus | < 3.0.0 | 3.0.0 |
| npm locutus(npm) | < 3.0.0 | 3.0.0 |
References
- https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6 exploit mitigation vendor-advisory
- https://github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de500ad patch
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2445262 issue-tracking
- security.access.redhat.com
- developer.mozilla.org
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- www.cve.org
- github.com product