VDB
GHSA-4r4m-qw57-chr8
GHSA-4r4m-qw57-chr8
PUBLISHED
CVSS 5.300000190734863 MEDIUM
Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
Record from GitHub Advisory Database · Published March 31, 2025
vite is fixed in 6.2.4, 6.1.3, 6.0.13 and 2 more (npm)
Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vite | npm | 6.2.4, 6.1.3, 6.0.13, 5.4.16, 4.5.11 |
| vitess-21.0 | Wolfi | 21.0.3-r5 |
| langfuse-2 | Chainguard | 2.95.12-r26 |
| vitess-20.0 | Wolfi | 20.0.6-r6 |
| langfuse-fips-2 | Chainguard | 2.95.12-r28 |
| vitess-19.0 | Chainguard | 19.0.10-r5 |
| vitess-18.0 | Chainguard | 18.0.8-r10 |
| vitess-21.0 | Chainguard | 21.0.3-r5 |
| vitess-20.0 | Chainguard | 20.0.6-r6 |
Risk scores
CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| npm | vite | 0, 5.0.0, 6.0.0 |
| wolfi | vitess-21.0 | 0 |
| chainguard | langfuse-2 | 0 |
| wolfi | vitess-20.0 | 0 |
| chainguard | langfuse-fips-2 | 0 |
| chainguard | vitess-19.0 | 0 |
| chainguard | vitess-18.0 | 0 |
| chainguard | vitess-21.0 | 0 |
| chainguard | vitess-20.0 | 0 |
Timeline
- Mar 31, 2025 CVE Published
- Apr 9, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-4r4m-qw57-chr8
vulnetix vdb fixes GHSA-4r4m-qw57-chr8
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-4r4m-qw57-chr8/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8 url
- https://nvd.nist.gov/vuln/detail/CVE-2025-31125 advisory
- https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 url
- https://github.com/vitejs/vite package
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125 url