CVE-2026-29091
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
locutusnpm | < 3.0.0 | 3.0.0 |
Affected products
3Patches
Vulnerability mechanics
References
9- github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de500adnvdPatchWEB
- github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6nvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-fp25-p6mj-qqg6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-29091ghsaADVISORY
- developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/evalghsaWEB
- github.com/locutusjs/locutus/blob/main/src/php/funchand/call_user_func_array.jsghsaWEB
- access.redhat.com/security/cve/CVE-2026-29091nvd
- bugzilla.redhat.com/show_bug.cginvd
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29091.jsonnvd
News mentions
0No linked articles in our index yet.