Skip to content

fix(deps): address 21 dependency vulnerabilities (next, axios, sharp, shell-quote) - #168

Merged
atrincas merged 4 commits into
mainfrom
fix/deps/audit-2026-07-23
Jul 24, 2026
Merged

fix(deps): address 21 dependency vulnerabilities (next, axios, sharp, shell-quote)#168
atrincas merged 4 commits into
mainfrom
fix/deps/audit-2026-07-23

Conversation

@atrincas

Copy link
Copy Markdown
Contributor

Summary

Full pnpm audit remediation from the 2026-07-23 audit. Resolves 21 advisories across 4 packages. pnpm audit now reports no known vulnerabilities.

Package Fix Strategy Advisories cleared
next 16.2.6 → 16.2.11 direct upgrade A 9 (4 high: 2× SSRF, proxy bypass, Server Action DoS; 5 moderate)
axios 1.17.0 → 1.18.1 direct upgrade A 10 (1 high proxy leak after config cloning + 9 moderate: prototype pollution, DoS, maxBodyLength/NO_PROXY bypass)
next>sharp0.35.3 scoped override B 1 high — inherited libvips CVEs (GHSA-f88m-g3jw-g9cj: CVE-2026-33327/33328/35590/35591)
concurrently>shell-quote1.10.0 scoped override B 1 high — quadratic-complexity ReDoS in parse() (GHSA-395f-4hp3-45gv), dev-only

One atomic fix(deps): commit per vulnerability fix.

Notes on the two overrides

  • next>sharp bypasses next's declared range. next@16.2.11 declares sharp: ^0.34.5 and there is no patched 0.34.x, so the override to 0.35.3 is required and deliberately crosses next's compatibility range. Treat as temporary — revisit when next widens its sharp range to include 0.35.x. Verified the 0.35.3 native binary loads correctly.
  • concurrently>shell-quote has no direct-upgrade path. concurrently@10.0.3 (latest) still bundles the vulnerable shell-quote@1.8.4. Dev-only e2e test tooling.

Existing overrides reviewed and both retained (neither is a stale security override): next>postcss (documented security pin — removing it reintroduces GHSA-qx2v-qp2m-jg93) and picomatch (non-security dedupe pin).

Verification

Per fix: re-audit (package cleared) → tsc --noEmit (clean) → vitest run (201/201 pass). Pre-commit hooks (biome lint) passed on each commit. Full next build not run (needs build-time env vars unrelated to these bumps).

atrincas added 4 commits July 23, 2026 14:35
…nerabilities (GHSA-f88m-g3jw-g9cj)

next@16.2.11 declares sharp ^0.34.5 and no patched 0.34.x exists, so a scoped
override to 0.35.3 is required. Verified the 0.35.3 native binary loads and the
client test suite + type check pass.
…ic-complexity ReDoS in parse() (GHSA-395f-4hp3-45gv)

concurrently@10.0.3 (latest) still ships shell-quote@1.8.4, so no direct-upgrade
path exists. Scoped override to 1.10.0. Dev-only (e2e test tooling).
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
eccc-hudson-bay-lowlands Ready Ready Preview, Comment Jul 23, 2026 12:44pm

Request Review

@sonarqubecloud

sonarqubecloud Bot commented Jul 23, 2026

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@atrincas
atrincas merged commit 6c79af1 into main Jul 24, 2026
6 checks passed
@atrincas
atrincas deleted the fix/deps/audit-2026-07-23 branch July 24, 2026 08:07
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