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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-04T20:19:55.000Z
- Modified: 2026-07-15T02:19:24.163Z
- Also known as: GHSA-fp25-p6mj-qqg6
- Weaknesses: CWE-94, CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- locutusjs locutus: < 3.0.0
- openshift-logging/elasticsearch6-rhel9: no versions given
- openshift-logging/elasticsearch-operator-bundle: no versions given
- openshift-logging/elasticsearch-proxy-rhel9: no versions given
- openshift-logging/elasticsearch-rhel9-operator: no versions given
- openshift-logging/kibana6-rhel8: no versions given
- openshift-logging/logging-curator5-rhel9: no versions given
- locutus (npm): before 3.0.0
- locutus locutus: before 3.0.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de500ad> (patch, web)
- <https://access.redhat.com/security/cve/CVE-2026-29091> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2445262> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29091.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-29091> (advisory)
- <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#never_use_eval> (web)
- <https://github.com/locutusjs/locutus> (package)
- <https://github.com/locutusjs/locutus/blob/main/src/php/funchand/call_user_func_array.js#L31> (web)

## Sources

- CVE List: [CVE-2026-29091](https://www.cve.org/CVERecord?id=CVE-2026-29091), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-fp25-p6mj-qqg6](https://github.com/advisories/GHSA-fp25-p6mj-qqg6), CC-BY-4.0, modified 2026-03-06
- NVD: [CVE-2026-29091](https://nvd.nist.gov/vuln/detail/CVE-2026-29091), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-29091 · Whole record: https://cve.day/CVE-2026-29091.json · Rebuilt by cve.day 2026-11-25T22:59:15.412Z
