Quick answers
- Is CVE-2026-32304 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-32304 being exploited in the wild.
- How severe is CVE-2026-32304?
- Critical severity, with a CVSS score of 9.8, published 13 March 2026.
- Which products and versions are affected?
- locutus (npm) SEMVER:introduced=0,fixed=3.0.14; Red Hat Logging Subsystem for OpenShift 5.
- Is there a fix for CVE-2026-32304?
- Yes. locutus (npm): upgrade to 3.0.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-32304 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-32304?
- Check whether you run locutus (npm) or Red Hat Logging Subsystem for OpenShift at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- locutus (npm): upgrade to 3.0.14 or later
npm install locutus@3.0.14
Technical details
A code injection vulnerability exists in the 'create_function' implementation within Locutus v3.x. The root cause is the lack of sanitization for the 'args' and 'code' parameters, which are passed directly to the JavaScript 'Function' constructor. An attacker who can control these inputs can achieve remote code execution (RCE) in the context of the Node.js process. This issue is distinct from previous vulnerabilities that used 'eval()'. The vulnerability was addressed in version 3.0.14 by removing the 'create_function' utility entirely to align with PHP 8.3 parity, where the function was deprecated and removed for similar security concerns.
Affected products
- locutusjs locutus < 3.0.14
- Red Hat Logging Subsystem for Red Hat OpenShift 5
Identifiers
- CVE-2026-32304
- GHSA-vh9h-29pq-r5m8
Timeline
- 2026-03-11: patched: Version 3.0.14 released on GitHub
- 2026-03-12: advisory: GitHub Security Advisory published
- 2026-03-13: disclosed: CVE published to NVD
References
- https://github.com/locutusjs/locutus/releases/tag/v3.0.14
- https://github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8
- https://access.redhat.com/security/cve/CVE-2026-32304
- https://bugzilla.redhat.com/show_bug.cgi?id=2447200
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32304.json