Skip to main content
npm (Node.js)

lodash Known Vulnerabilities & Fixes

lodash has 8 known security vulnerabilities in npm (Node.js). Upgrade to version 4.18.1 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

8 Vulnerabilities

Recommended safe version: 4.18.1

Upgrading to 4.18.1 or later resolves all 8 known vulnerabilities in lodash. Run: npm install lodash@4.18.1

Is lodash in your project?

Check if you're affected and upgrade to 4.18.1 to stay secure.

8
Total
1
Critical
3
High
4
Medium
0
Low

Security Summary

  • 8 affected version ranges have been identified across these 8 advisories.
  • 100% of known issues have a published fixed version.
  • Highest exploit-probability (EPSS) score for lodash: 20.6%.
  • Remediation: npm update lodash

Vulnerabilities

8 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Jul 10, 2019, most recently Apr 1, 2026 (2457 days apart).

CVE / GHSASeverity
CVE-2021-23337
Command Injection in lodash
Affected
All versions
Fixed in
4.17.21
HIGH
CVE-2020-28500
Regular Expression Denial of Service (ReDoS) in lodash
Affected
All versions
Fixed in
4.17.21
MEDIUM
CVE-2020-8203
Prototype Pollution in lodash
Affected
All versions
Fixed in
4.17.19
HIGH
CVE-2019-10744
Prototype Pollution in lodash
Affected
All versions
Fixed in
4.17.12
CRITICAL
CVE-2025-13465
Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions
Affected
All versions
Fixed in
4.17.23
MEDIUM
CVE-2019-1010266
Regular Expression Denial of Service (ReDoS) in lodash
Affected
All versions
Fixed in
4.17.11
MEDIUM
CVE-2026-4800
lodash vulnerable to Code Injection via `_.template` imports key names
Affected
All versions
Fixed in
4.18.0
HIGH
CVE-2026-2950
lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt
Affected
4.17.23
Fixed in
4.18.1
MEDIUM

About This Data

Vulnerability data for lodash is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of lodash.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed