CVE-2026-29091
HIGH 8.1CVSS 3.1locutus call_user_func_array vulnerable to Remote Code Execution (RCE) due to Code Injection
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.
- Published
- 6 Mar 2026
- Last modified
- 15 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-94CWE-95
- Also known as
- GHSA-fp25-p6mj-qqg6
- Sources
- NVDJSONOSV GHSA-fp25-p6mj-qqg6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | locutus | locutuscpe:2.3:a:locutus:locutus:*:*:*:*:*:node.js:*:* |
< 3.0.0 | 3.0.0 |
| OSV | npm | locutus | < 3.0.0 | 3.0.0 |
References
- https://github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de500ad · Patch, WEB
- https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6 · Exploit, Mitigation, Vendor Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2026-29091
- https://bugzilla.redhat.com/show_bug.cgi?id=2445262
- 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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 6 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Mar 2026)