CVE-2026-32304

CRITICAL EPSS 42.0%
Published Mar 13, 20263mo ago · Modified Jun 17, 20261w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Mar 13, 2026 3mo ago
Last Modified Jun 17, 2026 1w ago

Description

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.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
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

Threat Intelligence

EPSS Exploit Probability
42.0% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-94 Improper Control of Generation of Code (Code Injection) Injection

Affected Products 1

VendorProductVersionRange
locutuslocutus* <3.0.14

References 2

  • github.com https://github.com/locutusjs/locutus/releases/tag/v3.0.14
    ProductRelease Notes
  • github.com https://github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8
    ExploitMitigationPatchVendor Advisory

Remediation

  • github.com https://github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8
    ExploitMitigationPatchVendor Advisory