Skip to content

chore: update dependencies to resolve Dependabot security alerts - #881

Open
Jasrags wants to merge 2 commits into
mainfrom
chore/update-dependencies-security
Open

chore: update dependencies to resolve Dependabot security alerts#881
Jasrags wants to merge 2 commits into
mainfrom
chore/update-dependencies-security

Conversation

@Jasrags

@Jasrags Jasrags commented Apr 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Update next 16.1.6 → 16.2.2 (fixes 10 alerts: image disk cache, request smuggling, CSRF bypass, HMR CSRF)
  • Update vitest 4.0.18 → 4.1.3, @vitest/coverage-v8 → 4.1.3, @vitest/ui → 4.1.3, @vitejs/plugin-react → 5.2.0 (fixes 5 alerts: vite path traversal/file read/fs.deny bypass, flatted prototype pollution, yaml stack overflow)
  • Update @sentry/nextjs 10.38.0 → 10.47.0 (fixes up to 6 alerts: picomatch ReDoS, serialize-javascript CPU exhaustion, brace-expansion DoS)
  • Update @modelcontextprotocol/sdk 1.25.3 → 1.29.0 (fixes 2 alerts: path-to-regexp DoS)

All updates are minor/patch versions (low risk). Resolves ~23 of 30 open Dependabot alerts.

Remaining alerts (for a follow-up PR)

  • nodemailer 7.x → 8.x (major bump, 2 alerts)
  • knip 5.x → 6.x (major bump, 1 alert)
  • undici via next-devtools-mcp (needs pnpm override, 5 alerts)

Test plan

  • pnpm type-check passes
  • All 10,481 tests pass (503 test files)
  • Lint issues are pre-existing (unchanged)

🤖 Generated with Claude Code

Update low-risk dependencies to fix ~23 Dependabot alerts:
- next 16.1.6 → 16.2.2 (10 alerts: image cache, request smuggling, CSRF, HMR)
- vitest 4.0.18 → 4.1.3, @vitest/coverage-v8, @vitest/ui (5 alerts: vite path traversal/file read, flatted prototype pollution, yaml stack overflow)
- @vitejs/plugin-react 5.1.3 → 5.2.0
- @sentry/nextjs 10.38.0 → 10.47.0 (up to 6 alerts: picomatch ReDoS, serialize-javascript, brace-expansion)
- @modelcontextprotocol/sdk 1.25.3 → 1.29.0 (2 alerts: path-to-regexp DoS)
@Jasrags Jasrags self-assigned this Apr 8, 2026
…dit vulnerabilities

Add pnpm.overrides for transitive dependencies that can't be updated
via their parent packages: undici, flatted, minimatch, brace-expansion,
picomatch, smol-toml, ajv, yaml, nodemailer, mailparser.

Add vite 7.3.2 as direct dev dependency to satisfy security patches
(vitest 4.1.3 peers to vite 7.2.7 which has 3 high vulnerabilities).

Result: pnpm audit reports 0 vulnerabilities (was 33).
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