Skip to content

fix(dashboard): patch vite/vitest CVEs including critical vitest RCE - #173

Merged
N-thnI merged 2 commits into
mainfrom
fix/dashboard-vite-vitest-cve
Aug 5, 2026
Merged

fix(dashboard): patch vite/vitest CVEs including critical vitest RCE#173
N-thnI merged 2 commits into
mainfrom
fix/dashboard-vite-vitest-cve

Conversation

@N-thnI

@N-thnI N-thnI commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps vite 5.3.1 -> 8.2.0 and vitest 1.6.0 -> 4.1.10 (major), plus non-breaking patches for brace-expansion, js-yaml, and postcss.
  • Resolves 7 advisories including GHSA-5xrq-8626-4rwp (critical) — arbitrary file read/execute via the Vitest UI server — plus a high-severity Vite path-restriction bypass, moderate esbuild dev-server request forgery, and path-traversal/NTLM disclosure issues.
  • npm audit now reports 0 vulnerabilities in dashboard.

Test plan

  • tsc && vite build succeeds, same output shape
  • vitest run — 124/124 tests pass, unchanged
  • eslint . --max-warnings 0 — clean

N-thnI and others added 2 commits August 5, 2026 12:38
…ical vitest RCE

Bumps vite 5.3.1 -> 8.2.0 and vitest 1.6.0 -> 4.1.10, resolving:
- GHSA-5xrq-8626-4rwp (critical, vitest UI arbitrary file read/execute)
- GHSA-fx2h-pf6j-xcff (high, vite server.fs.deny bypass on Windows)
- GHSA-4w7w-66w2-5vf9 / GHSA-v6wh-96g9-6wx3 (moderate, vite path traversal / NTLM hash disclosure)
- GHSA-67mh-4wv8-2f99 (moderate, esbuild dev server request forgery)
Also picked up non-breaking fixes for brace-expansion, js-yaml, and postcss.

npm audit now reports 0 vulnerabilities. Verified tsc build, vite build,
124 vitest tests, and eslint all pass unchanged after the bump.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…mpat

vite 8 requires @vitejs/plugin-react ^6.0.0; the prior 4.x pin only
supported up to vite 7 and failed npm ci in CI (ERESOLVE).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@N-thnI
N-thnI force-pushed the fix/dashboard-vite-vitest-cve branch from c7482cc to eba5e6a Compare August 5, 2026 11:38
@N-thnI
N-thnI merged commit b036ed1 into main Aug 5, 2026
3 checks passed
@N-thnI
N-thnI deleted the fix/dashboard-vite-vitest-cve branch August 5, 2026 11:41
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