Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.1
Locutus JavaScript Library Allows Remote Code Execution
GHSA-fp25-p6mj-qqg6
CVE-2026-29091
GHSA-fp25-p6mj-qqg6
Summary
Locutus, a JavaScript library that brings standard libraries from other programming languages to JavaScript, has a flaw in its code that can allow hackers to run their own malicious code on a website. This could potentially allow hackers to access sensitive information or take control of the website. To protect yourself, make sure you're running Locutus version 3.0.0 or later.
What to do
- Update locutus to version 3.0.0.
Affected software
| Vendor | Product | Affected versions | Fix available |
|---|---|---|---|
| – | locutus | <= 2.0.39 | 3.0.0 |
| – | locutus | <= 3.0.0 | 3.0.0 |
| locutus | locutus | <= 3.0.0 | – |
Original title
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, speci...
Original 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.
ghsa CVSS3.1
8.1
Vulnerability type
CWE-95
- https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects...
- https://github.com/locutusjs/locutus/blob/main/src/php/funchand/call_user_func_a...
- https://github.com/advisories/GHSA-fp25-p6mj-qqg6
- https://github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de5...
- https://nvd.nist.gov/vuln/detail/CVE-2026-29091
- https://github.com/locutusjs/locutus Product
Published: 6 Mar 2026 · Updated: 13 Mar 2026 · First seen: 6 Mar 2026