Skip to content

Update dependency vite to v6 [SECURITY]#58

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

Update dependency vite to v6 [SECURITY]#58
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-vite-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 7, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
vite (source) ^5.0.10^6.4.2 age confidence

Vite Vulnerable to Path Traversal in Optimized Deps .map Handling

CVE-2026-39365 / GHSA-4w7w-66w2-5vf9

More information

Details

Summary

Any files ending with .map even out side the project can be returned to the browser.

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)
  • have a sensitive content in files ending with .map and the path is predictable
Details

In Vite v7.3.1, the dev server’s handling of .map requests for optimized dependencies resolves file paths and calls readFile without restricting ../ segments in the URL. As a result, it is possible to bypass the server.fs.strict allow list and retrieve .map files located outside the project root, provided they can be parsed as valid source map JSON.

PoC
  1. Create a minimal PoC sourcemap outside the project root
    cat > /tmp/poc.map <<'EOF'
    {"version":3,"file":"x.js","sources":[],"names":[],"mappings":""}
    EOF
  2. Start the Vite dev server (example)
    pnpm -C playground/fs-serve dev --host 127.0.0.1 --port 18080
  3. Confirm that direct /@&#8203;fs access is blocked by strict (returns 403)
    image
  4. Inject ../ segments under the optimized deps .map URL prefix to reach /tmp/poc.map
    image

Severity

  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References

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


Release Notes

vitejs/vite (vite)

v6.4.2

Compare Source

Please refer to CHANGELOG.md for details.

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.

v6.3.6

Compare Source

Please refer to CHANGELOG.md for details.

v6.3.5

Compare Source

Vite 7 is out!

Today, we're excited to announce the release of the next Vite major:

⚠ BREAKING CHANGES
  • ssr: don't access Object variable in ssr transformed code (#​19996)
  • remove experimental.skipSsrTransform option (#​20038)
  • remove HotBroadcaster (#​19988)
  • css: always use sass compiler API (#​19978)
  • bump build.target and name it baseline-widely-available (#​20007)
  • bump required node version to 20.19+, 22.12+ and remove cjs build (#​20032)
  • css: remove sass legacy API support (#​19977)
  • remove deprecated HotBroadcaster related types (#​19987)
  • remove deprecated no-op type only properties (#​19985)
  • remove node 18 support (#​19972)
  • remove deprecated hook-level enforce/transform from transformIndexHtml hook (#​19349)
  • remove deprecated splitVendorChunkPlugin (#​19255)
Features
Bug Fixes
Performance Improvements
Documentation
Miscellaneous Chores
Code Refactoring
Tests
Continuous Integration
Beta Changelogs
7.0.0-beta.2 (2025-06-17)

See 7.0.0-beta.2 changelog

7.0.0-beta.1 (2025-06-10)

See 7.0.0-beta.1 changelog

7.0.0-beta.0 (2025-06-02)

See 7.0.0-beta.0 changelog

v6.3.4

Compare Source

Bug Fixes
  • check static serve file inside sirv (#​19965) (c22c43d)
  • optimizer: return plain object when using require to import externals in optimized dependencies (#​19940) (efc5eab)
Code Refactoring

v6.3.3

Compare Source

Bug Fixes
  • assets: ensure ?no-inline is not included in the asset url in the production environment (#​19496) (16a73c0)
  • css: resolve relative imports in sass properly on Windows (#​19920) (ffab442)
  • deps: update all non-major dependencies (#​19899) (a4b500e)
  • ignore malformed uris in tranform middleware (#​19853) (e4d5201)
  • ssr: fix execution order of re-export (#​19841) (ed29dee)
  • ssr: fix live binding of default export declaration and hoist exports getter (#​19842) (80a91ff)
Performance Improvements
  • skip sourcemap generation for renderChunk hook of import-analysis-build plugin (#​19921) (55cfd04)
Tests
  • ssr: test ssrTransform re-export deps and test stacktrace with first line (#​19629) (9399cda)

v6.3.2

Compare Source

Features
Bug Fixes

v6.3.1

Compare Source

Bug Fixes

v6.3.0

Compare Source

Bug Fixes

v6.2.7

Compare Source

Please refer to CHANGELOG.md for details.

v6.2.6

Compare Source

Please refer to CHANGELOG.md for details.

v6.2.5

Compare Source

Please refer to CHANGELOG.md for details.

v6.2.4

Compare Source

Please refer to CHANGELOG.md for details.

v6.2.3

Compare Source

Please refer to CHANGELOG.md for details.

v6.2.2

Compare Source

Features
Bug Fixes
Miscellaneous Chores
  • extend commit hash correctly when ambigious with a non-commit object (#​19600) (89a6287)

v6.2.1

Compare Source

Features
  • add *?url&no-inline type and warning for .json?inline / .json?no-inline (#​19566) (c0d3667)
Bug Fixes
  • css: stabilize css module hashes with lightningcss in dev mode (#​19481) (92125b4)
  • deps: update all non-major dependencies (#​19555) (f612e0f)
  • reporter: fix incorrect bundle size calculation with non-ASCII characters (#​19561) (437c0ed)
  • sourcemap: combine sourcemaps with multiple sources without matched source (#​18971) (e3f6ae1)
  • ssr: named export should overwrite export all (#​19534) (2fd2fc1)
Performance Improvements
Miscellaneous Chores
Code Refactoring
Tests

v6.2.0

Compare Source

Bug Fixes
Miscellaneous Chores

v6.1.6

Compare Source

Please refer to CHANGELOG.md for details.

v6.1.5

Compare Source

Please refer to CHANGELOG.md for details.

v6.1.4

Compare Source

Please refer to CHANGELOG.md for details.

v6.1.3

Compare Source

Please refer to CHANGELOG.md for details.

v6.1.2

Compare Source

Please refer to CHANGELOG.md for details.

v6.1.1

Compare Source

Features
Bug Fixes
Miscellaneous Chores
Code Refactoring

v6.1.0

Compare Source

Features
Bug Fixes
Miscellaneous Chores
Code Refactoring

v6.0.15

Compare Source

Please refer to CHANGELOG.md for details.

v6.0.14

Compare Source

Please refer to CHANGELOG.md for details.

v6.0.13

Compare Source

Please refer to CHANGELOG.md for details.

v6.0.12

Compare Source

Please refer to CHANGELOG.md for details.

v6.0.11

Compare Source

Features
Bug Fixes

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • 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 force-pushed the renovate/npm-vite-vulnerability branch from 1ee8c64 to cd9aba9 Compare April 8, 2026 18:59
@renovate renovate Bot changed the title chore(deps): update dependency vite to v6 [security] Update dependency vite to v8 [SECURITY] Apr 8, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 8, 2026

⚠️ No Changeset found

Latest commit: d17bdbf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from cd9aba9 to f8bfda3 Compare April 8, 2026 23:38
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] Apr 8, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from f8bfda3 to 60c5c78 Compare April 15, 2026 09:11
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] Apr 15, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 60c5c78 to d5c8202 Compare April 16, 2026 08:57
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] Apr 16, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from d5c8202 to 54f25d7 Compare April 16, 2026 15:07
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] Apr 16, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 54f25d7 to a1fc579 Compare April 16, 2026 23:46
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] Apr 16, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from a1fc579 to 65e582e Compare April 19, 2026 12:37
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] Apr 19, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 65e582e to ddeac67 Compare April 19, 2026 21:16
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] Apr 19, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from ddeac67 to 385cf3c Compare April 21, 2026 21:59
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] Apr 21, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 385cf3c to 3b6d022 Compare April 22, 2026 03:39
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] Apr 22, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 3b6d022 to 448686e Compare April 23, 2026 11:02
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] Apr 23, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 448686e to c709f35 Compare April 23, 2026 14:07
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] Apr 23, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from c709f35 to 9592456 Compare April 29, 2026 09:59
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] Apr 29, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 9592456 to bb9f0c2 Compare April 29, 2026 19:09
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] Apr 29, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from bb9f0c2 to 2a96f20 Compare April 30, 2026 17:00
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] Apr 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 2a96f20 to 6b458e4 Compare April 30, 2026 21:45
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] Apr 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 6b458e4 to 7f57e40 Compare May 12, 2026 14:44
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] May 12, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 7f57e40 to 7084c4f Compare May 12, 2026 18:12
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] May 12, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 7084c4f to 98e2196 Compare May 14, 2026 17:11
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] May 14, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 98e2196 to 73bde5c Compare May 14, 2026 21:11
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] May 14, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 73bde5c to 426eb23 Compare May 18, 2026 19:02
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] May 18, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 426eb23 to 90ee314 Compare May 18, 2026 23:59
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] May 18, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 90ee314 to 427bb50 Compare May 22, 2026 21:15
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] May 22, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 427bb50 to cbf811b Compare May 23, 2026 01:56
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] May 23, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from cbf811b to 00aa1f2 Compare May 30, 2026 11:14
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] May 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 00aa1f2 to c9c3913 Compare May 30, 2026 13:09
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] May 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from c9c3913 to 01d460a Compare June 1, 2026 17:37
@renovate renovate Bot changed the title Update dependency vite to v6 [SECURITY] Update dependency vite to v8 [SECURITY] Jun 1, 2026
@renovate renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 01d460a to d17bdbf Compare June 2, 2026 01:46
@renovate renovate Bot changed the title Update dependency vite to v8 [SECURITY] Update dependency vite to v6 [SECURITY] Jun 2, 2026
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.

0 participants