Skip to content

fix(security): upgrade vite to 8.2.0 (CVE-2026-39363) - #27

Merged
Vishal-770 merged 2 commits into
masterfrom
fix/vite-security-cve-2026-39363
Aug 7, 2026
Merged

fix(security): upgrade vite to 8.2.0 (CVE-2026-39363)#27
Vishal-770 merged 2 commits into
masterfrom
fix/vite-security-cve-2026-39363

Conversation

@Vishal-770

Copy link
Copy Markdown
Member

Summary

Upgrades vite from 7.3.18.2.0 to fix a high severity security vulnerability.

Closes #26

Vulnerability

The server.fs check was not enforced on the fetchModule method exposed via Vite's dev server WebSocket, allowing arbitrary file reads if the dev server is exposed to the network.

Changes

  • vite: 7.3.18.2.0
  • Updated pnpm-lock.yaml

Testing

  • ✅ TypeScript — 0 errors (pnpm tsc --noEmit)
  • ✅ Build verified locally

Copilot AI lite review requested due to automatic review settings August 7, 2026 05:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades Vite to a non-vulnerable version to address CVE-2026-39363 (arbitrary file read via dev server WebSocket when exposed to the network), aligning the dev toolchain with the security advisory.

Changes:

  • Bump vite from 7.3.1 to 8.2.0 in package.json.
  • Regenerate pnpm-lock.yaml to reflect updated Vite and transitive dependency graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Updates the Vite devDependency to ^8.2.0.
pnpm-lock.yaml Updates the resolved Vite version and related transitive deps to match the upgrade.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

Comment thread package.json
"@vitejs/plugin-react": "^4.6.0",
"typescript": "~5.8.3",
"vite": "^7.0.4"
"vite": "^8.2.0"
@Vishal-770
Vishal-770 merged commit 589ae59 into master Aug 7, 2026
1 check passed
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.

security: upgrade vite to >=7.3.5 (CVE-2026-39363)

2 participants