Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite (source) 6.3.66.4.1 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2025-62522

Summary

Files denied by server.fs.deny were sent if the URL ended with \ when the dev server is running on Windows.

Impact

Only apps that match the following conditions are affected:

  • explicitly exposes the Vite dev server to the network (using --host or server.host config option)
  • running the dev server on Windows

Details

server.fs.deny can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns). These patterns were able to bypass by using a back slash(\). The root cause is that fs.readFile('/foo.png/') loads /foo.png.

PoC

npm create vite@latest
cd vite-project/
cat "secret" > .env
npm install
npm run dev
curl --request-target /.env\ http://localhost:5173
image

Release Notes

vitejs/vite (vite)

v6.4.1

Compare Source

Please refer to CHANGELOG.md for details.

v6.4.0

Compare Source

Please refer to CHANGELOG.md for details.

v6.3.7

Compare Source

Please refer to CHANGELOG.md for details.


Configuration

📅 Schedule: Branch creation - "" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Oct 21, 2025
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 415b52c to 701ab81 Compare October 31, 2025 23:32
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 701ab81 to 61555ae Compare November 10, 2025 13:51
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 61555ae to 8d180d8 Compare November 18, 2025 12:52
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 8d180d8 to 6f7be82 Compare December 3, 2025 17:28
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch 2 times, most recently from 60302d8 to c76123b Compare January 5, 2026 01:19
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from c76123b to 3d01285 Compare January 8, 2026 20:11
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 3d01285 to 11f6233 Compare January 19, 2026 14:51
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 11f6233 to ecb5c77 Compare January 23, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants