Live threats

All CVEs / Locutus

CVE-2026-32304Locutus

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Mar 13, 2026
Updated
Jul 15, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-88
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Locutus.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm locutus < 3.0.14 3.0.14 npm install locutus@3.0.14

Per OSV / GitHub Advisories (GHSA-vh9h-29pq-r5m8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
locutuslocutus< 3.0.14

Official sources

References

Links published by the sources. Open them with care.