CVE-2026-29091
Locutus brings stdlibs of other programming languages to JavaScript …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6
- developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#never_use_ev
- github.com/locutusjs/locutus/blob/main/src/php/funchand/call_user_func_array.js#L31
- github.com/advisories/GHSA-fp25-p6mj-qqg6
- github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de500ad
- nvd.nist.gov/vuln/detail/CVE-2026-29091
- access.redhat.com/security/cve/CVE-2026-29091
- bugzilla.redhat.com/show_bug.cgi?id=2445262
- nvd.nist.gov/vuln/detail/CVE-2026-29091
- cve.org/CVERecord?id=CVE-2026-29091
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.