CVE-2026-32304
Last modified
CVE-2026-32304 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.57% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Locutus | Locutus | < 3.0.14 |
References
- https://github.com/locutusjs/locutus/releases/tag/v3.0.14Product, Release Notes
- https://github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8Exploit, Mitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-32304?
How severe is CVE-2026-32304?
How do I fix CVE-2026-32304?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-32299Connect-CMS is a content management system. In versions on t…7.5
- CVE-2026-3230Missing required cryptographic step in the TLS 1.3 client He…2.7
- CVE-2026-32300Connect-CMS is a content management system. In versions on t…8.1
- CVE-2026-32301Centrifugo is an open-source scalable real-time messaging se…9.3
- CVE-2026-32302OpenClaw is a personal AI assistant. Prior to 2026.3.11, bro…8.1
- CVE-2026-32303Cryptomator encrypts data being stored on cloud infrastructu…5.9
- CVE-2026-32305Traefik is an HTTP reverse proxy and load balancer. Versions…5.3
- CVE-2026-32306OneUptime is a solution for monitoring and managing online s…9.9
- CVE-2026-32308OneUptime is a solution for monitoring and managing online s…7.6
- CVE-2026-32309Cryptomator encrypts data being stored on cloud infrastructu…7.5
- CVE-2026-3231The Checkout Field Editor (Checkout Manager) for WooCommerce…7.2
- CVE-2026-32310Cryptomator encrypts data being stored on cloud infrastructu…5.3
Are you affected by CVE-2026-32304?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
