Lodash <4.18.0 _.template key-names RCE
CVE-2026-4800 Published on March 31, 2026

lodash vulnerable to Code Injection via `_.template` imports key names
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.

NVD

Vulnerability Analysis

CVE-2026-4800 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a Code Injection Vulnerability?

The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

CVE-2026-4800 has been classified to as a Code Injection vulnerability or weakness.


Products Associated with CVE-2026-4800

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-4800 are published in these products:

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Affected Versions

lodash: lodash-es: lodash-amd: lodash.template: Red Hat Cryostat 4 on RHEL 9: Red Hat Cryostat 4 on RHEL 9: Red Hat Ansible Automation Platform 2.6 for RHEL 9: Red Hat Data Grid 8.6.1: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10.0 Extended Update Support: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: Red Hat Enterprise Linux 8.6 Telecommunications Update Service: Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: Red Hat Enterprise Linux 8.8 Telecommunications Update Service: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions: Red Hat Enterprise Linux 9.4 Extended Update Support: Red Hat Enterprise Linux 9.6 Extended Update Support: Red Hat Streams for Apache Kafka 2.9.4: Red Hat Streams for Apache Kafka 3.2.0: Red Hat Cluster Observability Operator 1.5.0: Red Hat Cluster Observability Operator 1.5.0: Red Hat Cluster Observability Operator 1.5.0: Red Hat Migration Toolkit for Virtualization 2.1: Red Hat Migration Toolkit for Virtualization 2.9: Red Hat Network Observability (NETOBSERV) 1.11.2: Red Hat Network Observability (NETOBSERV) 1.11.2: Red Hat Ansible Automation Platform 2.5: Red Hat Ansible Automation Platform 2.6: Red Hat Developer Hub 1.8: Red Hat Developer Hub 1.9: Red Hat Edge Manager 1.0: Red Hat Edge Manager 1.0: Red Hat Edge Manager 1.1: Red Hat Edge Manager 1.1: Red Hat Edge Manager 1.1: Red Hat Edge Manager 1.1: Red Hat OpenShift AI 2.25: Red Hat OpenShift AI 2.25: Red Hat OpenShift AI 3.3: Red Hat OpenShift AI 3.3: Red Hat OpenShift AI 3.3: Red Hat OpenShift Container Platform 4.16: Red Hat OpenShift Container Platform 4.17: Red Hat OpenShift Container Platform 4.17: Red Hat OpenShift Container Platform 4.18: Red Hat OpenShift Container Platform 4.18: Red Hat OpenShift Container Platform 4.19: Red Hat OpenShift Container Platform 4.19: Red Hat OpenShift Container Platform 4.2: Red Hat OpenShift Container Platform 4.2: Red Hat OpenShift Container Platform 4.21: Red Hat OpenShift Container Platform 4.22: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.16: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.17: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.18: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.19: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat Openshift Data Foundation 4.2: Red Hat OpenShift Dev Spaces 3.27: Red Hat OpenShift Dev Spaces 3.27: Red Hat OpenShift Dev Spaces 3.27: Red Hat OpenShift distributed tracing 3.9.3: Red Hat OpenShift GitOps 1.18: Red Hat OpenShift GitOps 1.19: Red Hat OpenShift Service Mesh 2.6: Red Hat OpenShift Service Mesh 2.6: Red Hat OpenShift Service Mesh 3.0: Red Hat OpenShift Service Mesh 3.0: Red Hat OpenShift Service Mesh 3.1: Red Hat OpenShift Service Mesh 3.1: Red Hat OpenShift Service Mesh 3.2: Red Hat OpenShift Service Mesh 3.2: Red Hat OpenShift Service Mesh 3.3: Red Hat OpenShift Service Mesh 3.3: Red Hat Satellite 6.18: Red Hat Satellite 6.18: Red Hat Satellite 6.18: Red Hat Trusted Artifact Signer 1.3: Red Hat Confidential Compute Attestation: Red Hat Cryostat 4: Red Hat Gatekeeper 3: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Logging Subsystem for Red Hat OpenShift: Red Hat Migration Toolkit for Applications 8: Red Hat Migration Toolkit for Containers: Red Hat Multicluster Engine for Kubernetes: Red Hat Node HealthCheck Operator: Red Hat Node HealthCheck Operator: Red Hat Node HealthCheck Operator: Red Hat Node HealthCheck Operator: Red Hat Node HealthCheck Operator: Red Hat OpenShift Lightspeed: Red Hat OpenShift Lightspeed: Red Hat OpenShift Pipelines: Red Hat OpenShift Pipelines: Red Hat OpenShift Service Mesh 3: Red Hat OpenShift Service Mesh 3: Red Hat 3scale API Management Platform 2: Red Hat 3scale API Management Platform 2: Red Hat 3scale API Management Platform 2: Red Hat 3scale API Management Platform 2: Red Hat 3scale API Management Platform 2: Red Hat 3scale API Management Platform 2: Red Hat 3scale API Management Platform 2: Red Hat 3scale API Management Platform 2: Red Hat 3scale API Management Platform 2: Red Hat Advanced Cluster Management for Kubernetes 2: Red Hat Advanced Cluster Security 4: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat Ansible Automation Platform 2: Red Hat build of Apache Camel - HawtIO 4: Red Hat build of Apicurio Registry 2: Red Hat build of Apicurio Registry 3: Red Hat build of Apicurio Registry 3: Red Hat build of Apicurio Registry 3: Red Hat Build of Keycloak: Red Hat Build of Podman Desktop: Red Hat Build of Podman Desktop: Red Hat Connectivity Link 1: Red Hat Developer Hub: Red Hat Directory Server 11: Red Hat Directory Server 12: Red Hat Directory Server 13: Red Hat Discovery 2: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 7: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux AI (RHEL AI) 3: Red Hat Enterprise Linux AI (RHEL AI) 3: Red Hat Enterprise Linux AI (RHEL AI) 3: Red Hat Fuse 7: Red Hat JBoss Enterprise Application Platform 7: Red Hat JBoss Enterprise Application Platform 8: Red Hat JBoss Enterprise Application Platform Expansion Pack: Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift AI (RHOAI): Red Hat OpenShift Container Platform 4: Red Hat OpenShift Container Platform 4: Red Hat OpenShift Container Platform 4: Red Hat OpenShift GitOps: Red Hat OpenShift GitOps: Red Hat OpenShift Virtualization 4: Red Hat OpenShift Virtualization 4: Red Hat Process Automation 7: Red Hat Quay 3: Red Hat Quay 3: Red Hat Satellite 6: Red Hat Satellite 6: Red Hat Satellite 6: Red Hat Satellite 6: Red Hat Satellite 6: Red Hat Satellite 6: Red Hat Satellite 6: Red Hat Satellite 6: Red Hat Satellite 6: Red Hat Single Sign-On 7: Red Hat Trusted Artifact Signer: Red Hat Trusted Profile Analyzer: Red Hat Self-service automation portal 2:

Exploit Probability

EPSS
1.03%
Percentile
59.09%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.