Advisory

GHSA-f23m-r3pf-42rh

Also known as: CVE-2026-2950

Summary

lodash vulnerable to prototype pollution via array-path bypass in _.unset, _.omit, and `_.pullAt

Details

Impact

The _.unset, _.omit, and _.pullAt functions 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.

Patches

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.

Workarounds

None. Upgrade to the patched version.

References

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-01 23:50 UTC
Modified
2026-11-03 15:45 UTC

Affected packages and fixes

lodash

npm · All systems

Affected

  • introduced 4.17.23, fixed 4.18.1 (semver)

Fixed versions

4.18.1

Fix

lodash-es

npm · All systems

Affected

  • introduced 4.17.23, fixed 4.18.1 (semver)

Fixed versions

4.18.1

Fix

lodash-amd

npm · All systems

Affected

  • introduced 4.17.23, fixed 4.18.1 (semver)

Fixed versions

4.18.1

Fix

lodash.unset

npm · All systems

Affected

  • introduced 0, fixed 4.18.0 (semver)

Fixed versions

4.18.0

Fix

lodash.omit

npm · All systems

Affected

  • introduced 0, fixed 4.18.0 (semver)

Fixed versions

4.18.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences