CVE-2026-39364
published high CVSS 4.0 · 8.2Vite has a `server.fs.deny` bypass with queries
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vitejs | — | vite>= 8.0.0, < 8.0.5 · >= 7.1.0, < 7.3.2 | Affected | Not stated | GitHub_M |
| vitejs | — | vite-plus< 0.1.16 | Affected | Not stated | GitHub_M |
| Red Hat | — | ansible-automation-platform-tech-preview/mcp-server-rhel9Red Hat Ansible Automation Platform 2.6 · 1779783248 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhacs-eng/release-mainRed Hat Advanced Cluster Security 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | automation-controllerRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | automation-eda-controllerRed Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | automation-gatewayRed Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | automation-platform-uiRed Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | redhat-user-workloads/gateway-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | viteRed Hat Build of Keycloak | Affected | Not stated | redhat-SADP |
| Red Hat | — | podman-desktop-macos-1-0Red Hat Build of Podman Desktop | Affected | Not stated | redhat-SADP |
| Red Hat | — | podman-desktop-windows-1-0Red Hat Build of Podman Desktop | Affected | Not stated | redhat-SADP |
| Red Hat | — | redhat-user-workloads/bootc-extRed Hat Build of Podman Desktop - Tech Preview | Affected | Not stated | redhat-SADP |
| Red Hat | — | redhat-user-workloads/openshift-local-extRed Hat Build of Podman Desktop - Tech Preview | Affected | Not stated | redhat-SADP |
| Red Hat | — | redhat-user-workloads/rhel-extRed Hat Build of Podman Desktop - Tech Preview | Affected | Not stated | redhat-SADP |
| Red Hat | — | viteRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | viteRed Hat JBoss Enterprise Application Platform Expansion Pack | Affected | Not stated | redhat-SADP |
| Red Hat | — | redhat-user-workloads/art-imagesRed Hat OpenShift Container Platform 4 | Affected | Not stated | redhat-SADP |
Description
Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, 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. This vulnerability is fixed in 7.3.2 and 8.0.5.
A flaw was found in Vite, a frontend tooling framework for JavaScript. On the Vite development server, a remote attacker could exploit this vulnerability by appending specific query parameters, such as ?raw, to requests. This allows the attacker to bypass security restrictions and retrieve sensitive files, including environment variables (.env) and certificate files (*.crt), which should otherwise be blocked. This information disclosure could lead to further compromise of the system.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vitejs | vite | >= 8.0.0, < 8.0.5 (affected)>= 7.1.0, < 7.3.2 (affected) | GitHub_M · cna |
| vitejs | vite-plus | < 0.1.16 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | 1779783248 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Advanced Cluster Security 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat-SADP · adp |
Weaknesses
3- CWE-180 CWE-180: Incorrect Behavior Order: Validate Before Canonicalize
- CWE-284 CWE-284: Improper Access Control
- CWE-472 External Control of Assumed-Immutable Web Parameter
References
5- https://access.redhat.com/errata/RHSA-2026:24866
- https://access.redhat.com/security/cve/CVE-2026-39364
- RHBZ#2456181 https://bugzilla.redhat.com/show_bug.cgi?id=2456181
- https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39364.json
Provider assertions
3GitHub_M · cna
Vite has a `server.fs.deny` bypass with queries
redhat-SADP · adp
vite: Vite: Information disclosure via query parameter manipulation on the development server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 717ea96757ca37860de8088a11cdf991c297b10a0412e68337eb79344fb9745c
- Ingested
- 23 Sep 2026, 09:12:08 UTC
- Source record
- Official CVE record