Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-32304

published critical CVSS 3.1 · 9.8

Locutus: RCE via unsanitized input in create_function()

Published
12 Mar 2026, 21:24:51 UTC
Updated
15 Jul 2026, 01:08:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
locutusjs — locutus< 3.0.14 Affected Not stated GitHub_M
Red Hat — openshift-logging/elasticsearch6-rhel9Logging Subsystem for Red Hat OpenShift Affected Not stated redhat-SADP
Red Hat — openshift-logging/elasticsearch-operator-bundleLogging Subsystem for Red Hat OpenShift Affected Not stated redhat-SADP
Red Hat — openshift-logging/elasticsearch-proxy-rhel9Logging Subsystem for Red Hat OpenShift Affected Not stated redhat-SADP
Red Hat — openshift-logging/elasticsearch-rhel9-operatorLogging Subsystem for Red Hat OpenShift Affected Not stated redhat-SADP
Red Hat — openshift-logging/kibana6-rhel8Logging Subsystem for Red Hat OpenShift Affected Not stated redhat-SADP
Red Hat — openshift-logging/logging-curator5-rhel9Logging Subsystem for Red Hat OpenShift Affected Not stated redhat-SADP

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in Locutus, a JavaScript library that provides standard library functions. The `create_function` function in Locutus passes user-supplied arguments and code directly to the JavaScript `Function` constructor without proper sanitization. This vulnerability allows a remote attacker to execute arbitrary code within the application, potentially leading to full system compromise or data manipulation.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.5 high redhat-SADP · adp CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
locutusjs locutus < 3.0.14 (affected) GitHub_M · cna
Red Hat Logging Subsystem for Red Hat OpenShift Default: affected redhat-SADP · adp
Red Hat Logging Subsystem for Red Hat OpenShift Default: affected redhat-SADP · adp
Red Hat Logging Subsystem for Red Hat OpenShift Default: affected redhat-SADP · adp
Red Hat Logging Subsystem for Red Hat OpenShift Default: affected redhat-SADP · adp
Red Hat Logging Subsystem for Red Hat OpenShift Default: affected redhat-SADP · adp
Red Hat Logging Subsystem for Red Hat OpenShift Default: affected redhat-SADP · adp

Weaknesses

2
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (redhat-SADP · adp)

References

5

Provider assertions

3

GitHub_M · cna

Locutus: RCE via unsanitized input in create_function()

redhat-SADP · adp

locutusjs: Locutus: Arbitrary code execution via unsanitized parameters in create_function

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
264e23bba792b02c1ca7ac7e2e5acc7d8db7d948fdd141eb8dd4090c7582d58b
Ingested
23 Sep 2026, 09:10:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected