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
VendorProductAffected versionsFix 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
Published: 6 Mar 2026 · Updated: 13 Mar 2026 · First seen: 6 Mar 2026