CVE-2026-32304: Vulnerability in Locutus
Critical. The create_function(args, code) function passes both parameters directly to the Function constructor without any sanitization, allowing arbitrary code execution.
npm, CWE-94, CWE-88
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-vh9h-29pq-r5m8
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-94, CWE-88
- Published
- 13 Mar 2026
- Last change
- 15 Jul 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Locutus Before 3.0.14. Fixed in 3.0.14
Affected packages
Vulnerable version ranges and fixed releases
- locutus npm, Affected through 3.0.13. Fixed in 3.0.14
Advisories
Vendor and security advisories
- github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8
- access.redhat.com/security/cve/CVE-2026-32304
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32304.json
Patches and fixes
Updates, commits and release notes
Related
- Locutus vulnerabilities Recent advisories, watch this product