SecurityContext

CVE-2026-29091: Locutus - Remote Code Execution

  • Cve: CVE-2026-29091
  • Name: Locutus - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary JavaScript code remotely, potentially leading to full system compromise.
  • Remediation: Update to version 3.0.0 or later.
  • Vulnerability type: remote_code_execution
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00891
  • Epss percentile: 0.60119
  • Assignee: [email protected]
  • Published at: 2026-03-06T18:16:20Z
  • Age in days: 263
  • Modified at: 2026-07-15T02:19:24Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-29091
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6nvd2026-03-06

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/locutusjs/locutus/commit/977a1fb169441e35996a1d2465b512322de500adPatch
https://github.com/locutusjs/locutus/security/advisories/GHSA-fp25-p6mj-qqg6Exploit, Mitigation, Vendor Advisory
https://access.redhat.com/security/cve/CVE-2026-29091
https://bugzilla.redhat.com/show_bug.cgi?id=2445262
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29091.json

Products

ProductAffectedPlatform boundSourcesUrl
locutus:locutus< 3.0.0nonvd/v1/products/locutus/locutus

Projects

RepositoryLink kindsIndexedUrl
locutusjs/locutuscommit, package, security_advisoryyes/v1/repositories/locutusjs/locutus

Index

  • Repositories: 8
  • Repositories high signal: 6
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-03-06
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts