๐Ÿ” CVE Alert

CVE-2026-32304

CRITICAL 9.8

Locutus: RCE via unsanitized input in create_function()

CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-94
Vendor locutusjs
Product locutus
Published Mar 12, 2026
Last Updated Mar 13, 2026
Stay Ahead of the Next One

Get instant alerts for locutusjs locutus

Be the first to know when new critical vulnerabilities affecting locutusjs locutus are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

locutusjs / locutus
< 3.0.14

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8 github.com: https://github.com/locutusjs/locutus/releases/tag/v3.0.14