Skip to main content
← All vulnerabilities
CVE-2026-29091GHSA-FP25-P6MJ-QQG6

Locutus: Remote Code Execution (RCE) in locutus call_user_func_array due to Code Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • locutusjs locutus

    fixed in 3.0.0

  • locutusnpm

    fixed in 3.0.0

References 2

GitHub · locutusjs/locutus