GHSA-vh9h-29pq-r5m8 · Severity: critical · Ecosystem: npm — Locutus vulnerable to RCE via unsanitized input in create_function()
Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to 3.0.14, the create_function(args, code) function passes both parameters directly to the Function constructor without any sanitization, allowing arbitrary code execution. This is distinct from CVE-2026-29091 which was call_user_func_array using eval() in v2.x. This finding affects create_function using new Function() in v3.x. This vulnerability is fixed in 3.0.14.
Conclusion & alert: CVE-2026-32304 is rated High Exploit Risk (66.9/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.15%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-23 | 0.08% | 0.15% | +0.08% |
| 2 | 2026-03-13 | — | 0.08% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-vh9h-29pq-r5m8 · Severity: critical · Ecosystem: npm — Locutus vulnerable to RCE via unsanitized input in create_function()
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-32304 |
| URL | Tags |
|---|---|
| https://github.com/locutusjs/locutus/releases/tag/v3.0.14 | Product Release Notes |
| https://github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8 | Exploit Mitigation Patch Vendor Advisory |