Skip to content

fix(arena-web): bump Vite 6.4.1 → 6.4.2 (HIGH-severity dev-server CVEs)#1007

Merged
chaholl merged 1 commit intomainfrom
fix/vite-security-advisory
Apr 18, 2026
Merged

fix(arena-web): bump Vite 6.4.1 → 6.4.2 (HIGH-severity dev-server CVEs)#1007
chaholl merged 1 commit intomainfrom
fix/vite-security-advisory

Conversation

@chaholl
Copy link
Copy Markdown
Contributor

@chaholl chaholl commented Apr 18, 2026

Summary

Closes two HIGH-severity Vite advisories that npm audit has been flagging on the arena web frontend:

Both are dev-server bugs, so real-world exposure is bounded to anyone running npm run dev on a host reachable by an attacker. Still a high rating — not worth sitting on.

Change

npm audit fix bumps the transitive vite dependency from 6.4.1 to 6.4.2 (a patch release). No package.json range change needed. 3-line lock diff.

Test plan

  • npm audit now reports found 0 vulnerabilities in the frontend
  • Other npm workspaces (packc-action, promptarena-action, npm/packc, npm/promptarena) already clean, no follow-ups needed
  • npm run build succeeds under Vite 6.4.2
  • npm run test:ci passes (20/20 unit tests, utils.ts 100% covered)

npm audit flagged Vite 6.4.1 as vulnerable to two HIGH-severity issues:

- GHSA-4w7w-66w2-5vf9 — path traversal in optimized deps `.map` handling
- GHSA-p9ff-h696-f583 — arbitrary file read via Vite dev server WebSocket

Both are dev-server bugs, so the blast radius is bounded to anyone
running `npm run dev` on an exposed host. Still worth closing.

`npm audit fix` bumps the transitive vite dependency from 6.4.1 to
6.4.2 (a patch release). No package.json range change needed, no API
surface change, no test fallout. Other npm workspaces in the repo
(packc-action, promptarena-action, npm/packc, npm/promptarena) already
report `found 0 vulnerabilities`.

Verified: `npm run build` succeeds under vite 6.4.2, `npm run test:ci`
still passes, `npm audit` now clean.
@sonarqubecloud
Copy link
Copy Markdown

@chaholl chaholl merged commit 1f60cc2 into main Apr 18, 2026
45 of 51 checks passed
@chaholl chaholl deleted the fix/vite-security-advisory branch April 18, 2026 16:45
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