CVE-2026-4800: lodash vulnerable to Code Injection via `_.template` imports key names
Noroxi assessment
Priority: Plan (action score 40/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.8% (FIRST EPSS); higher than 86.4% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: lodash lodash 4.18.1; lodash lodash-amd 4.18.1; lodash lodash-es 4.18.1.
Add it to your regular patch cycle. Upgrade to lodash lodash 4.18.1; lodash lodash-amd 4.18.1; lodash lodash-es 4.18.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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, and 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, so if Object.prototype has been polluted by another vector the polluted keys are copied into the imports object and passed to Function(). The issue is fixed in 4.18.1 for lodash, lodash-es, lodash-amd, and lodash.template. As a workaround, do not pass untrusted input as key names in options.imports; use only developer-controlled, static key names.
- BDU:2026-09406
- GHSA-35jh-r3h4-6jhm
- GHSA-r5fr-rjxr-66jc
- ALSA-2026:10710
- ALSA-2026:10713
- ALSA-2026:19167
- RHBA-2026:21387
- RHBA-2026:21388
- RHSA-2026:10710
- RHSA-2026:10713
- RHSA-2026:11454
- RHSA-2026:11469
- RHSA-2026:11470
- RHSA-2026:11471
- RHSA-2026:11493
- RHSA-2026:11494
- RHSA-2026:11495
- RHSA-2026:11516
- RHSA-2026:19008
- RHSA-2026:19167
- Published
- Mar 31, 2026
- Updated
- Oct 15, 2026
- EPSS
- 2.8% · 86th percentile
- CWE
- CWE-94
Report tools
Action score
40
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.8%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 9.8
- CNA · openjs
- 8.1
- 1.7 point gap
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| lodash | lodash | cpe:2.3:a:lodash:lodash |
| lodash | lodash-amd | cpe:2.3:a:lodash:lodash-amd |
| lodash | lodash-es | cpe:2.3:a:lodash:lodash-es |
| lodash | lodash.template | cpe:2.3:a:lodash:lodash.template |
Is the Lodash on your site affected?
The free JavaScript library scanner reads the Lodash version from the files your site loads, matches this record and other known vulnerabilities, and gives the safe version on the same branch. If the version can't be read, it says so. No account needed.
Scan JavaScript librariesAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- lodash lodash4.0.0 and later · before 4.18.0
- lodash lodash-amd4.0.0 and later · before 4.18.0
- lodash lodash-es4.0.0 and later · before 4.18.0
- lodash lodash.template4.0.0 and later · before 4.18.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (openjs). Independent of NVD's CPE analysis and usually ahead of it.
lodash lodash
- 4.18.1not affected
- 4.0.0 and later · before 4.18.1affected · semver
lodash lodash-amd
- 4.18.1not affected
- 4.0.0 and later · before 4.18.1affected · semver
lodash lodash-es
- 4.18.1not affected
- 4.0.0 and later · before 4.18.1affected · semver
lodash lodash.template
- 4.18.1not affected
- 4.0.0 and later · before 4.18.1affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | cockpit-ha-cluster | before 0.12.1-1.el10_1.3 | 0.12.1-1.el10_1.3 |
| AlmaLinux:9 | pcs | before 0.11.11-2.el9_8.1 | 0.11.11-2.el9_8.1 |
| AlmaLinux:9 | pcs | before 0.11.10-1.el9_7.3 | 0.11.10-1.el9_7.3 |
| AlmaLinux:9 | pcs-snmp | before 0.11.11-2.el9_8.1 | 0.11.11-2.el9_8.1 |
| AlmaLinux:9 | pcs-snmp | before 0.11.10-1.el9_7.3 | 0.11.10-1.el9_7.3 |
| Debian:12 | node-lodash | before 4.17.21+dfsg+~cs8.31.198.20210220-9+deb12u1 | 4.17.21+dfsg+~cs8.31.198.20210220-9+deb12u1 |
| Debian:13 | node-lodash | before 4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1 | 4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1 |
| Debian:14 | node-lodash | before 4.18.1+dfsg-1 | 4.18.1+dfsg-1 |
| npm | lodash | from 4.0.0 · before 4.18.0 | 4.18.0 |
| npm | lodash-amd | from 4.0.0 · before 4.18.0 | 4.18.0 |
| npm | lodash-es | from 4.0.0 · before 4.18.0 | 4.18.0 |
| npm | lodash.template | from 4.0.0 · before 4.18.0 | 4.18.0 |
| Red Hat:ansible_automation_platform_developer:2.6::el10 | python3-click | before 0:8.3.3-1.el10ap | 0:8.3.3-1.el10ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | automation-controller | before 0:4.7.12-1.el9ap | 0:4.7.12-1.el9ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | automation-controller-cli | before 0:4.7.12-1.el9ap | 0:4.7.12-1.el9ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | python3.12-click | before 0:8.3.3-1.el9ap | 0:8.3.3-1.el9ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | python3.12-cryptography | before 0:46.0.7-1.el9ap | 0:46.0.7-1.el9ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | python3.12-cryptography-debuginfo | before 0:46.0.7-1.el9ap | 0:46.0.7-1.el9ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | python3.12-cryptography-debugsource | before 0:46.0.7-1.el9ap | 0:46.0.7-1.el9ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | receptor | before 0:1.6.5-1.el9ap | 0:1.6.5-1.el9ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | receptorctl | before 0:1.6.5-1.el9ap | 0:1.6.5-1.el9ap |
| Red Hat:ansible_automation_platform:2.6::el10 | receptor | before 0:1.6.5-1.el10ap | 0:1.6.5-1.el10ap |
| Red Hat:ansible_automation_platform:2.6::el10 | receptor-debuginfo | before 0:1.6.5-1.el10ap | 0:1.6.5-1.el10ap |
| Red Hat:ansible_automation_platform:2.6::el10 | receptor-debugsource | before 0:1.6.5-1.el10ap | 0:1.6.5-1.el10ap |
+65
Same product
lodash: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-10744Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution.38Monitor
- CVE-2021-23337Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.34Monitor
- CVE-2020-8203Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.31Monitor
Published before and after this one in the same product
- ← EarlierCVE-2020-28500Feb 15, 2021 · Regular Expression Denial of Service (ReDoS)23Monitor
- ← EarlierCVE-2025-13465Jan 21, 2026 · Prototype Pollution Vulnerability in Lodash _.unset and _.omit functions28Monitor
- ← EarlierCVE-2026-2950Mar 31, 2026 · lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| lodash lodash | 4.18.1 | Vendor (CNA) |
| lodash lodash-amd | 4.18.1 | Vendor (CNA) |
| lodash lodash-es | 4.18.1 | Vendor (CNA) |
| lodash lodash.template | 4.18.1 | Vendor (CNA) |
| almalinux:cockpit-ha-cluster | 0.12.1-1.el10_1.3 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:pcs | 0.11.10-1.el9_7.3 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:pcs-snmp | 0.11.10-1.el9_7.3 · AlmaLinux:9 | Package registry (OSV) |
| debian:node-lodash | 4.17.21+dfsg+~cs8.31.198.20210220-9+deb12u1 · Debian:12 | Package registry (OSV) |
| debian:node-lodash | 4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1 · Debian:13 | Package registry (OSV) |
| npm:lodash | 4.18.0 | Package registry (OSV) |
| npm:lodash-amd | 4.18.0 | Package registry (OSV) |
| npm:lodash-es | 4.18.0 | Package registry (OSV) |
| npm:lodash.template | 4.18.0 | Package registry (OSV) |
| red hat:cockpit | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-bridge | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-debuginfo | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-debugsource | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-doc | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-packagekit | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cockpit-storaged | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cockpit-system | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-ws | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-ws-selinux | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:pcs | 0:0.11.10-1.el9_7.3 · Red Hat:enterprise_linux:9::highavailability | Package registry (OSV) |
| red hat:pcs-snmp | 0:0.11.10-1.el9_7.3 · Red Hat:enterprise_linux:9::highavailability | Package registry (OSV) |
| rocky linux:cockpit-image-builder | 0:94.3-1.el10_2 · Rocky Linux:10 | Package registry (OSV) |
| rocky linux:pcs | 0:0.11.10-1.el9_7.3 · Rocky Linux:9 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:3 | 2026-04-01 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-04-07 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoCsame day
- TodayOct 30, 2026+213 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- dolevmiz1reporter
- bugbunny-researchreporter
- M0nd0Rreporter
- UlisesGasconremediation developer
- falsyvaluesremediation reviewer
- jonchurchremediation reviewer
- threalwinkyreporter
- jdaltonremediation reviewer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- github.com/lodash/lodash/security/advisories/GHSA-r5fr-rjxr-66jc
- access.redhat.com/errata/RHBA-2026:21387
- access.redhat.com/errata/RHSA-2026:10131
- access.redhat.com/errata/RHSA-2026:10175
- access.redhat.com/errata/RHSA-2026:10710
- access.redhat.com/errata/RHSA-2026:10713
- access.redhat.com/errata/RHSA-2026:11454
- access.redhat.com/errata/RHSA-2026:11469
- access.redhat.com/errata/RHSA-2026:11470
- access.redhat.com/errata/RHSA-2026:11471
- access.redhat.com/errata/RHSA-2026:11493
- access.redhat.com/errata/RHSA-2026:11494
- access.redhat.com/errata/RHSA-2026:11495
- access.redhat.com/errata/RHSA-2026:11516
- access.redhat.com/errata/RHSA-2026:12277
- access.redhat.com/errata/RHSA-2026:12279
- access.redhat.com/errata/RHSA-2026:13545
- access.redhat.com/errata/RHSA-2026:13553
- access.redhat.com/errata/RHSA-2026:13571
Vendor advisories and official records. Exploit/PoC links are deliberately left out.