Skip to content

Update dependency vite to ^6.4.1 [SECURITY]#66

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-vite-vulnerability
Open

Update dependency vite to ^6.4.1 [SECURITY]#66
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-vite-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2025

This PR contains the following updates:

Package Change Age Confidence
vite (source) ^6.3.6^6.4.1 age confidence

vite allows server.fs.deny bypass via backslash on Windows

CVE-2025-62522 / GHSA-93m4-6634-74q7

More information

Details

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

Severity

  • CVSS Score: Unknown
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


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 - "" (UTC), 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 renovate Renovate bot did it security labels Oct 21, 2025
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from e149709 to eed7f10 Compare December 31, 2025 13:58
@renovate renovate bot changed the title Update dependency vite to ^6.4.1 [SECURITY] Update dependency vite to ^6.4.1 [SECURITY] - autoclosed Jan 7, 2026
@renovate renovate bot closed this Jan 7, 2026
@renovate renovate bot deleted the renovate/npm-vite-vulnerability branch January 7, 2026 02:05
@renovate renovate bot changed the title Update dependency vite to ^6.4.1 [SECURITY] - autoclosed Update dependency vite to ^6.4.1 [SECURITY] Jan 7, 2026
@renovate renovate bot reopened this Jan 7, 2026
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch 2 times, most recently from eed7f10 to 1543be4 Compare January 7, 2026 04:50
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 1543be4 to 1c9ad82 Compare January 19, 2026 15:38
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 1c9ad82 to 0b34db1 Compare February 12, 2026 17:57
@renovate renovate bot changed the title Update dependency vite to ^6.4.1 [SECURITY] Update dependency vite to ^6.4.1 [SECURITY] - autoclosed Feb 17, 2026
@renovate renovate bot closed this Feb 17, 2026
@renovate renovate bot changed the title Update dependency vite to ^6.4.1 [SECURITY] - autoclosed Update dependency vite to ^6.4.1 [SECURITY] Feb 17, 2026
@renovate renovate bot reopened this Feb 17, 2026
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch 2 times, most recently from 0b34db1 to 2477795 Compare February 17, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate Renovate bot did it security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants