Vulnerability GHSA-8g5g-mxqh-grgj

Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
1 day ago
October 29, 2026 at 04:39 PM UTC
Vite: `server.fs.deny` bypassed with queries
6.4.4
6.4.4

Summary

Vite: `server.fs.deny` bypassed with queries

Details

Summary

The contents of files that are specified by server.fs.deny can be returned to the browser. This is the same as https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r.

Impact

Only apps that match the following conditions are affected:

Details

On the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, *.crt) can be retrieved with HTTP 200 responses when query parameters such as ?raw, ?import&raw, or ?import&url&inline are appended.

For the fix for https://github.com/vitejs/vite/security/advisories/GHSA-rq7h-c2jc-7f22, v6.4.4 back-ported https://github.com/vitejs/vite/pull/20410. But while that PR requires https://github.com/vitejs/vite/pull/22160 for https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r, https://github.com/vitejs/vite/pull/22160 wasn't back-ported together causing v6 vulnerable to https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r.

Related Vulnerabilities

Other vulnerabilities affecting the same packages

Low Risk
9 days ago
Vite: Cross origin script execution through Vite custom middleware
0.1.0 - 6.4.3 and 7.0.0 - 7.3.6 and 8.0.0 - 8.1.5 and 8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-9jrq-w75r-8gcw
0.1.0 - 6.4.3 and 7.0.0 - 7.3.6 and 8.0.0 - 8.1.5 and 8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-9jrq-w75r-8gcw
Medium Risk
9 days ago
Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
0.1.0 - 6.4.3 and 7.0.0 - 7.3.6 and 8.0.0 - 8.1.5 and 8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-rq7h-c2jc-7f22
0.1.0 - 6.4.3 and 7.0.0 - 7.3.6 and 8.0.0 - 8.1.5 and 8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-rq7h-c2jc-7f22
Medium Risk
9 days ago
Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-vfpm-58rq-9qcg
8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-vfpm-58rq-9qcg
Medium Risk
10 days ago
launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
0.1.0 - 6.4.3 and 7.0.0 - 7.3.6 and 8.0.0 - 8.1.5 and 8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-r825-w8mm-5pxw
0.1.0 - 6.4.3 and 7.0.0 - 7.3.6 and 8.0.0 - 8.1.5 and 8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-r825-w8mm-5pxw
High Risk
10 days ago
launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
0.1.0 - 6.4.3 and 7.0.0 - 7.3.6 and 8.0.0 - 8.1.5 and 8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-587h-7wmj-h5pm
0.1.0 - 6.4.3 and 7.0.0 - 7.3.6 and 8.0.0 - 8.1.5 and 8.2.0 - 8.2.2 and 8.3.0 - 8.3.2 GHSA-587h-7wmj-h5pm
View all vulnerabilities for these packages

Impacted packages

Timeline

Published
1 day ago
October 29, 2026 at 04:39 PM UTC
Fixed (6.4.5)
9 days ago
October 21, 2026 at 05:35 AM UTC
Last Modified
1 day ago
October 29, 2026 at 04:45 PM UTC