fix(security): upgrade npm in Docker images to patch CVE-2026-33671/33672/45149/33750/42338#64
Merged
Merged
Conversation
…-expansion, ip-address CVEs CVEs addressed: - CVE-2026-33671 (HIGH) picomatch 4.0.3 → 4.0.4 ReDoS via extglob - CVE-2026-33672 (MEDIUM) picomatch 4.0.3 → 4.0.4 method injection via POSIX bracket - CVE-2026-45149 (MEDIUM) brace-expansion 5.0.4 → 5.0.6 large numeric range DoS - CVE-2026-33750 (MEDIUM) brace-expansion 5.0.4 → 5.0.5 zero-step DoS - CVE-2026-42338 (MEDIUM) ip-address 10.1.0 → 10.1.1 All vulns live in npm's own bundled deps at usr/local/lib/node_modules/npm/node_modules/. Fix: upgrade npm@latest in base and runner stages of all three Dockerfiles.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ch for branch scanning
BODMAT
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Upgrades npm to latest in the
baseandrunnerstages of all three Dockerfiles (apps/api,apps/bot,apps/web).All five CVEs reside in npm's own bundled dependencies at
usr/local/lib/node_modules/npm/node_modules/— not in project dependencies managed by pnpm. Thenode:24-alpinebase image ships with an npm version that bundles outdatedpicomatch,brace-expansion, andip-address. Upgrading npm globally replaces its bundled internals with patched versions.Both
baseandrunnerstages are patched because Trivy scans the final image layer (runner) separately.Closes #63
Type of change
How Has This Been Tested?
Trivy scan runs automatically on this PR via CI (
release.yml). Results are visible in the Security → Code scanning alerts tab of this PR.Checklist: