Skip to content

Fix lodash CVE-2026-4800 by bumping to 4.17.23#547

Open
imenkov wants to merge 1 commit into
microsoft:masterfrom
imenkov:s360/sfi-es5.2/lodash-cve-2026-4800
Open

Fix lodash CVE-2026-4800 by bumping to 4.17.23#547
imenkov wants to merge 1 commit into
microsoft:masterfrom
imenkov:s360/sfi-es5.2/lodash-cve-2026-4800

Conversation

@imenkov

@imenkov imenkov commented Jun 15, 2026

Copy link
Copy Markdown

Summary

Remediates CVE-2026-4800 (high) in lodash.

Change

  • package.json: lodash ^4.17.21~4.17.23
  • package-lock.json: regenerated; sole lodash node 4.17.214.17.23

Why ~ (tilde) instead of ^ (caret)

lodash@4.18.0 is published as DEPRECATED on npm with the maintainer note "Bad release. Please use lodash@4.17.21 instead." Caret would allow that bad release. Tilde keeps us on the 4.17.x patched line.

Why no source changes

Source audit covers all 22 lodash functions in use across the repo. All are stable across the 4.17.x line. _.template is not used (the function with the historic prototype-pollution surface). _.set / _.merge call sites use only statically-constructed paths.

Files changed

  • package.json
  • package-lock.json

Validation

  • npm ci succeeds
  • npm run build succeeds — built binary runs
  • TFX_TRACE=1 traces correctly
  • npm test206 passing / 0 failing / 0 pending in ~36s
  • ✅ Contamination check vs. the minimatch fix branch: clean

Verified against docs/contributions.md end-to-end.


🛠️ s360-breeze-toolkit · SFI-ES5.2 · run 495d2f2c

Upgrades the direct lodash dependency from ^4.17.21 to ~4.17.23 to
remediate CVE-2026-4800. Pinned with ~ to stay on the 4.17.x patched
line and avoid the 4.18 series (4.18.0 is published as DEPRECATED with
the maintainer note "Bad release. Please use lodash@4.17.21 instead.")

- package.json:      lodash ^4.17.21 -> ~4.17.23
- package-lock.json: regenerated via `npm install`; sole lodash node
                     4.17.21 -> 4.17.23

All 3 transitive consumers (archiver-utils, mocha-multi-reporters,
async via winston/prompt) continue to dedupe to the single hoisted
lodash. No overrides required. Source-code audit covers 22 lodash
functions in use; all are stable across 4.17.x and no `_.template`
usage exists. No source changes.

S360-Run-Id: 495d2f2c-025e-4d09-ad47-bf5a23bad72f
S360-KPI: SFI-ES5.2
S360-Skill: dependabot:dependency-update-orchestrator
S360-Arm: dedicated_skill
S360-Action-Items: 928b7015-db58-41a3-94ea-ab73c7bb9f4d:17027a63-3844-47e7-858a-baccf93ba52e
@imenkov imenkov changed the title [s360-breeze-toolkit: SFI-ES5.2] Fix lodash CVE-2026-4800 by bumping to 4.17.23 Fix lodash CVE-2026-4800 by bumping to 4.17.23 Jun 15, 2026
@imenkov imenkov marked this pull request as ready for review June 15, 2026 08:25
@imenkov imenkov requested review from a team as code owners June 15, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant