CVE-2026-2950

lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`

MEDIUM 6.5

En bref

Source
NVD
EPSS
EPSS 0.34 % · centile 27 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
openjs
Statut NVD
Modified

Description

The _.unset and _.omit functions in Lodash are vulnerable to prototype pollution. The fix for CVE-2025-13465 only guards against string key members, so an attacker can bypass the check by passing array-wrapped path segments. This allows deletion of properties from built-in prototypes such as Object.prototype, Number.prototype, and String.prototype. The issue permits deletion of prototype properties but does not allow overwriting their original behavior. The issue is patched from 4.18.0 to 4.18.1 depending on the package: lodash, lodash-es, and lodash-amd in 4.18.1, and the standalone lodash.unset and lodash.omit packages in 4.18.0.

Faiblesses (CWE)

  • CWE-1321 — Modification non maîtrisée du prototype d'objet (pollution de prototype)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Lopenjs
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LNVD · ce714d77-add3-4f53-aff5-83d477b104bb (Secondary)
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD · nvd@nist.gov (Primary)

Avis

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
lodash · lodashaffected 4.17.23 < 4.18.1 ; unaffected 4.18.1
lodash · lodash-esaffected 4.17.23 < 4.18.1 ; unaffected 4.18.1
lodash · lodash-amdaffected 4.17.23 < 4.18.1 ; unaffected 4.18.1
lodash · lodash.unsetaffected 0 < 4.18.0 ; unaffected 4.18.0
lodash · lodash.omitaffected 0 < 4.18.0 ; unaffected 4.18.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD