CVE-2026-29091
published high CVSS 3.1 · 8.1Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| locutusjs | — | locutus< 3.0.0 | Affected | Not stated | GitHub_M |
| Red Hat | — | openshift-logging/elasticsearch6-rhel9Logging Subsystem for Red Hat OpenShift | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-logging/elasticsearch-operator-bundleLogging Subsystem for Red Hat OpenShift | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-logging/elasticsearch-proxy-rhel9Logging Subsystem for Red Hat OpenShift | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-logging/elasticsearch-rhel9-operatorLogging Subsystem for Red Hat OpenShift | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-logging/kibana6-rhel8Logging Subsystem for Red Hat OpenShift | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-logging/logging-curator5-rhel9Logging Subsystem for Red Hat OpenShift | Affected | Not stated | redhat-SADP |
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.
A flaw was found in Locutus, a project that brings standard libraries of other programming languages to JavaScript. A remote attacker could exploit an insecure implementation of the `call_user_func_array` function, which fails to properly validate all components of a callback array before passing them to the eval method. This vulnerability allows the attacker to inject arbitrary JavaScript code into the application's runtime environment, leading to remote code execution.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| locutusjs | locutus | < 3.0.0 (affected) | GitHub_M · cna |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: affected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: affected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: affected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: affected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: affected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
5- https://access.redhat.com/security/cve/CVE-2026-29091
- RHBZ#2445262 https://bugzilla.redhat.com/show_bug.cgi?id=2445262
- https://github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de500ad
- https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29091.json
Provider assertions
3GitHub_M · cna
Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection
redhat-SADP · adp
locutus: Locutus: Remote Code Execution via insecure callback function implementation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ad7ab4f3e2b4859eedbec5ee44d318b66c489b9737df0fefaffcb3ef347062d6
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record