Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function(). Patches: Users should upgrade to version 4.18.0. Workarounds: Do not pass untrusted input as key names in options.imports. Only use developer-controlled, static key names.
| Version | Base score | Base severity | Vector |
|---|---|---|---|
| 3.1 | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Version | Base score | Base severity | Vector |
|---|
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Hyperlink | Resource |
|---|
A flaw was found in lodash. The fix for CVE-2021-23337 added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function().
| Version | Base score | Base severity | Vector |
|---|---|---|---|
| 3.1 | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CAPEC ID | Description |
|---|
RHSA-2026:24762: Red Hat Ansible Automation Platform 2.6 for RHEL 9
RHSA-2026:17789: Cryostat 4 on RHEL 9
RHSA-2026:24331: Red Hat Enterprise Linux AppStream (v. 10)
RHSA-2026:34342: Cluster Observability Operator 1.5.0
RHSA-2026:11470: Red Hat Enterprise Linux High Availability EUS (v. 10.0)
RHSA-2026:10713: Red Hat Enterprise Linux High Availability (v. 10)
RHSA-2026:19008: Red Hat Enterprise Linux High Availability (v. 10)
RHSA-2026:11493: Red Hat Enterprise Linux High Availability AUS (v.8.4), Red Hat Enterprise Linux HighAvailability EUS EXTENSION (v.8.4)
RHSA-2026:11494: Red Hat Enterprise Linux High Availability E4S (v.8.6), Red Hat Enterprise Linux High Availability TUS (v.8.6)
RHSA-2026:11495: Red Hat Enterprise Linux High Availability E4S (v.8.8), Red Hat Enterprise Linux High Availability TUS (v.8.8)
RHSA-2026:11454: Red Hat Enterprise Linux High Availability E4S (v.9.0), Red Hat Enterprise Linux ResilientStorage E4S (v.9.0)
RHSA-2026:11469: Red Hat Enterprise Linux High Availability E4S (v.9.2), Red Hat Enterprise Linux Resilient Storage E4S (v.9.2)
RHSA-2026:11516: Red Hat Enterprise Linux High Availability EUS (v.9.4), Red Hat Enterprise Linux Resilient Storage EUS (v.9.4)
RHSA-2026:11471: Red Hat Enterprise Linux High Availability EUS (v.9.6), Red Hat Enterprise Linux Resilient Storage EUS (v.9.6)
RHSA-2026:10710: Red Hat Enterprise Linux High Availability (v. 9), Red Hat Enterprise Linux Resilient Storage (v. 9)
RHSA-2026:19167: Red Hat Enterprise Linux High Availability (v. 9), Red Hat Enterprise Linux Resilient Storage (v. 9)
RHSA-2026:19409: Migration Toolkit for Virtualization 2.1
RHSA-2026:19410: Migration Toolkit for Virtualization 2.9
RHSA-2026:16874: Network Observability (NETOBSERV) 1.11.2
RHSA-2026:13553: Red Hat Ansible Automation Platform 2.5
RHSA-2026:13545: Red Hat Ansible Automation Platform 2.6
RHSA-2026:22619: Red Hat Data Grid 8.6.1
RHSA-2026:9742: Red Hat Developer Hub 1.8
RHSA-2026:13826: Red Hat Developer Hub 1.9
RHSA-2026:36651: Red Hat Edge Manager 1.0
RHSA-2026:40945: Red Hat Edge Manager 1.1
RHSA-2026:40118: Red Hat Edge Manager 1.1
RHSA-2026:24977: Red Hat OpenShift AI 2.25
RHSA-2026:19712: Red Hat OpenShift AI 3.3
RHSA-2026:36621: Red Hat OpenShift Container Platform 4.16
RHSA-2026:34100: Red Hat OpenShift Container Platform 4.17
RHSA-2026:17598: Red Hat OpenShift Container Platform 4.17
RHSA-2026:21658: Red Hat OpenShift Container Platform 4.18
RHSA-2026:17448: Red Hat OpenShift Container Platform 4.18
RHSA-2026:20042: Red Hat OpenShift Container Platform 4.19
RHSA-2026:20041: Red Hat OpenShift Container Platform 4.19
RHSA-2026:37186: Red Hat OpenShift Container Platform 4.21
RHSA-2026:29795: Red Hat OpenShift Container Platform 4.22
RHSA-2026:17469: Red Hat OpenShift Container Platform 4.2
RHSA-2026:17468: Red Hat OpenShift Container Platform 4.2
RHSA-2026:10175: Red Hat OpenShift Dev Spaces 3.27
RHSA-2026:20946: Red Hat OpenShift GitOps 1.18
RHSA-2026:20943: Red Hat OpenShift GitOps 1.19
RHSA-2026:8483: Red Hat OpenShift Service Mesh 2.6
RHSA-2026:8484: Red Hat OpenShift Service Mesh 3.0
RHSA-2026:8490: Red Hat OpenShift Service Mesh 3.1
RHSA-2026:8491: Red Hat OpenShift Service Mesh 3.2
RHSA-2026:8493: Red Hat OpenShift Service Mesh 3.3
RHSA-2026:9385: Red Hat OpenShift distributed tracing 3.9.3
RHSA-2026:17549: Red Hat Openshift Data Foundation 4.16
RHSA-2026:17550: Red Hat Openshift Data Foundation 4.17
RHSA-2026:17547: Red Hat Openshift Data Foundation 4.18
RHSA-2026:12279: Red Hat Openshift Data Foundation 4.19
RHSA-2026:12277: Red Hat Openshift Data Foundation 4.2
RHSA-2026:40984: Red Hat Openshift Data Foundation 4.2
RHSA-2026:14870: Red Hat Satellite 6.18
RHSA-2026:14871: Red Hat Satellite 6.18
RHSA-2026:8498: Red Hat Satellite 6.18
RHSA-2026:10131: Red Hat Trusted Artifact Signer 1.3
RHSA-2026:34608: Streams for Apache Kafka 2.9.4
RHSA-2026:13571: Streams for Apache Kafka 3.2.0
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Event | Date |
|---|---|
| Reported to Red Hat. | 2026-03-31 20:01:21 |
| Made public. | 2026-03-31 19:25:55 |