GHSA-8g5g-mxqh-grgj

Suggest an improvement
Source
https://github.com/advisories/GHSA-8g5g-mxqh-grgj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-8g5g-mxqh-grgj/GHSA-8g5g-mxqh-grgj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8g5g-mxqh-grgj
Aliases
Published
2026-10-29T16:39:56Z
Modified
2026-10-29T16:45:04Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-180",
        "CWE-284"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-29T16:39:56Z",
    "nvd_published_at": "2026-10-28T21:16:56Z",
    "severity": "MODERATE"
}
References

Affected packages

npm / vite

Package

Affected ranges

Type
SEMVER
Events
Introduced
6.4.4
Fixed
6.4.5

Affected versions

6.*
6.4.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-8g5g-mxqh-grgj/GHSA-8g5g-mxqh-grgj.json"