Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket
vitejs · vite
Official source article: GitHub GHSA-P9FF-H696-F583 ↗. Check the applicable product and release in the original source.
8.2HighCVSS 4.0
Recommended action
Within 7 days
High technical severity with public exploit material referenced by a structured source; prioritise exposed affected systems while verifying vendor guidance.
These OSV and GitHub advisory ranges apply only to the named package and ecosystem. A listed fixed version is not a universal product patch or proof that an update is installed.
Structured product status and remediation from the issuing vendor. Product-state explanations are always visible; large lists can be searched or downloaded.
1 current
CVE-2026-39363 · CSAF 2.0 · revision 3 · finalRed Hat Product SecurityVite: Vite: Information disclosure via WebSocket connection bypasses access control
7 known affected
The vendor explicitly identifies these products as affected by this CVE.
automation-controller.src as a component of Red Hat Ansible Automation Platform 2
vite as a component of Red Hat Build of Keycloak
podman-desktop-macos-1-0 as a component of Red Hat Build of Podman Desktop
podman-desktop-windows-1-0 as a component of Red Hat Build of Podman Desktop
redhat-user-workloads/bootc-ext as a component of Red Hat Build of Podman Desktop - Tech Preview
redhat-user-workloads/openshift-local-ext as a component of Red Hat Build of Podman Desktop - Tech Preview
redhat-user-workloads/rhel-ext as a component of Red Hat Build of Podman Desktop - Tech Preview
Summary
A flaw was found in Vite, a frontend tooling framework. A remote attacker can exploit this vulnerability by connecting to the Vite development server's WebSocket without an Origin header. This allows the attacker to invoke the fetchModule function, enabling them to retrieve the contents of arbitrary files on the server. This information disclosure can lead to unauthorized access to sensitive data.
Remediation
For details on how to apply this update, refer to Ansible Automation Platform documentation.
Optional official sources
National CERT insights ?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.
Choose official national sources for this report. Each advisory shows its original language. Your selection is remembered on this device and included in shared links.
Official European source
ENISA European Vulnerability Database
Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.
1 current
ENISA EUVD identifier
EUVD-2026-19871
No EUVD known-exploited evidence
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, if it is possible to connect to the Vite dev server’s WebSocket without an Origin header, an attacker can invoke fetchModule via the custom WebSocket event vite:invoke and combine file://... with ?raw (or ?inline) to retrieve the contents of arbitrary files on the server as a JavaScript string (e.g., export default "..."). The access control enforced in the HTTP request path (such as server.fs.allow) is not applied to this WebSocket-based execution path. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
EUVD state
Present in the current official mapping
Known exploitation
Not present in the current ENISA EUVD known-exploited dataset. This is not proof of no exploitation.
ENISA score
8.2 · CVSS 4.0
Advisory evidence
No linked advisory details stored yet
Recommended actionWithin 7 days
High technical severity with public exploit material referenced by a structured source; prioritise exposed affected systems while verifying vendor guidance.
Patch available
01
What, why and how
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, if it is possible to connect to the Vite dev server’s WebSocket without an Origin header, an attacker can invoke fetchModule via the custom WebSocket event vite:invoke and combine file://... with ?raw (or ?inline) to retrieve the contents of arbitrary files on the server as a JavaScript string (e.g., export default "..."). The access control enforced in the HTTP request path (such as server.fs.allow) is not applied to this WebSocket-based execution path. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
What
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, if it is possible to connect to the Vite dev server’s WebSocket without an Origin header, an attacker can invoke fetchModule via the custom WebSocket event vite:invoke and combine file://... with ?raw (or ?inline) to retrieve the contents of arbitrary files on the server as a JavaScript string (e.g., export default "..."). The access control enforced in the HTTP request path (such as server.fs.allow) is not applied to this WebSocket-based execution path. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
Why
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
How
An attacker operating through a network path may attempt exploitation without authentication or user interaction. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.
What
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, if it is possible to connect to the Vite dev server’s WebSocket without an Origin header, an attacker can invoke fetchModule via the custom WebSocket event vite:invoke and combine file://... with ?raw (or ?inline) to retrieve the contents of arbitrary files on the server as a JavaScript string (e.g., export default "..."). The access control enforced in the HTTP request path (such as server.fs.allow) is not applied to this WebSocket-based execution path. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
Why
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
How
An attacker operating through a network path may attempt exploitation without authentication or user interaction. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.
02
Exploit reality and attack path
CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.
Observed exploitation ?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.No confirmed evidence
No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.
Public PoC / exploit material ?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.Reference recorded
A structured CVE source labels at least one public reference as exploit material. BlackTree has not independently validated that it is safe, reliable or weaponised.
Likely attack path
a network path → Exposure of Sensitive Information to an Unauthorized Actor → cause the confidentiality, integrity or availability impact described by the vendor
Attack surface
Network
Privileges required
None: unauthenticated exploitation is possible
User interaction
None
Attack complexity
Low: no specialised conditions are recorded
Security boundary
Not a CVSS 4.0 base metric
Weakness ?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CVSS vector ?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
Common Vulnerability Scoring System 4.0: the compact vector below is decoded into plain language.
AVNetworkAttack vector: The vulnerable component can be reached over a network.ACLowAttack complexity: No specialised conditions are required beyond attacker-controlled input.ATPresentAttack requirements: A particular deployment or execution condition must be present.PRNonePrivileges required: The attacker does not need an account or existing privileges.UINoneUser interaction: No action by another user is required.VCHighVulnerable-system confidentiality: A successful attack can cause a major loss.VINoneVulnerable-system integrity: No direct loss is represented by this metric.VANoneVulnerable-system availability: No direct loss is represented by this metric.SCNoneSubsequent-system confidentiality: No direct loss is represented by this metric.SINoneSubsequent-system integrity: No direct loss is represented by this metric.SANoneSubsequent-system availability: No direct loss is represented by this metric.
Post-exploitation / living off the land
No specific living-off-the-land technique is confirmed in the structured sources. Monitor normal administration tools for activity inconsistent with the affected service's baseline.
Only matched European and national findings are included. Language selectors and unavailable sources are omitted.
ENISA EUVD · EUVD-2026-19871Official EUVD mapping
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, if it is possible to connect to the Vite dev server’s WebSocket without an Origin header, an attacker can invoke fetchModule via the custom WebSocket event vite:invoke and combine file://... with ?raw (or ?inline) to retrieve the contents of arbitrary files on the server as a JavaScript string (e.g., export default "..."). The access control enforced in the HTTP request path (such as server.fs.allow) is not applied to this WebSocket-based execution path. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
Official EUVD record ↗JVN iPedia · Japanese · JVNDB-2026-011462vitejsのVite+等の複数製品における複数の脆弱性
Operational remediation based on structured source evidence.
Status ?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
For details on how to apply this update, refer to Ansible Automation Platform documentation.
Workaround
No verified workaround is recorded. If business-safe, reduce exposure to the affected interface and allow only trusted sources until authoritative guidance is available.
04
Evidence and provenance
Published 7 Apr 2026 · Last source change 25 Aug 2026, 12:05 UTC · CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
CVE recordCVE.org · 5.2
CVSS sourceCNA
EPSS source ?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2026-19871
Product sourceVendor CSAF · Red Hat Product Security
Remediation sourceVendor CSAF · Red Hat Product Security
CWE sourceCNA
NVD statusNVD modified after enrichment
Core structured fields are present and their contributing authorities are shown above.
Affected versionsThe structured affected or fixed version information changed.
Before
automation-controller.src as a component of Red Hat Ansible Automation Platform 2; vite as a component of Red Hat Build of Keycloak; podman-desktop-macos-1-0 as a component of Red Hat Build of Podman Desktop; podman-desktop-windows-1-0 as a component of Red Hat Build of Podman Desktop; redhat-user-workloads/bootc-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/openshift-local-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/rhel-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/art-images as a component of Red Hat OpenShift Container Platform 4 · Fixed: automation-gateway-server-0:2.5.20260422-3.el8ap.noarch as a component of Red Hat Ansible Automation Platform 2.5 for RHEL 8; automation-gateway-server-0:2.5.20260422-3.el9ap.noarch as a component of Red Hat Ansible Automation Platform 2.5 for RHEL 9; automation-platform-ui-0:2.6.9-1.el9ap.noarch as a component of Red Hat Ansible Automation Platform 2.6 for RHEL 9; automation-platform-ui-0:2.6.9-1.el9ap.src as a component of Red Hat Ansible Automation Platform 2.6 for RHEL 9; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:0233c53a96cc685fc0d82596b84ab8a783ce7affba89dd85def7ad7eacf5bdfe_s390x as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:574420f56707cf437a81dc92ad5ec529d9e9c5a668dbd569b41becc7fde7e194_ppc64le as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:60e660bf0d066c3f799259e57000dcb1d7974753c49771d15361321353ebeb4a_amd64 as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:bc80d85ced33bf5b7dc60d6d7555949c98cc4ee506d10ea5bb8a8691e58e8f42_arm64 as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-27/gateway-rhel9@sha256:5f77e82c4f0edeccfd5e0497aa215b4b0377fd22b84eca75e8d8773bcbc20794_arm64 as a component of Red Hat Ansible Automation Platform 2.7; registry.redhat.io/ansible-automation-platform-27/gateway-rhel9@sha256:d14006bbb87f890f0da365a84ea28a093d145de0ea4583c7db8eb85bffe4c457_amd64 as a component of Red Hat Ansible Automation Platform 2.7
After
automation-controller.src as a component of Red Hat Ansible Automation Platform 2; vite as a component of Red Hat Build of Keycloak; podman-desktop-macos-1-0 as a component of Red Hat Build of Podman Desktop; podman-desktop-windows-1-0 as a component of Red Hat Build of Podman Desktop; redhat-user-workloads/bootc-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/openshift-local-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/rhel-ext as a component of Red Hat Build of Podman Desktop - Tech Preview · Fixed: automation-gateway-server-0:2.5.20260422-3.el8ap.noarch as a component of Red Hat Ansible Automation Platform 2.5 for RHEL 8; automation-gateway-server-0:2.5.20260422-3.el9ap.noarch as a component of Red Hat Ansible Automation Platform 2.5 for RHEL 9; automation-platform-ui-0:2.6.9-1.el9ap.noarch as a component of Red Hat Ansible Automation Platform 2.6 for RHEL 9; automation-platform-ui-0:2.6.9-1.el9ap.src as a component of Red Hat Ansible Automation Platform 2.6 for RHEL 9; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:0233c53a96cc685fc0d82596b84ab8a783ce7affba89dd85def7ad7eacf5bdfe_s390x as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:574420f56707cf437a81dc92ad5ec529d9e9c5a668dbd569b41becc7fde7e194_ppc64le as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:60e660bf0d066c3f799259e57000dcb1d7974753c49771d15361321353ebeb4a_amd64 as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:bc80d85ced33bf5b7dc60d6d7555949c98cc4ee506d10ea5bb8a8691e58e8f42_arm64 as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-27/gateway-rhel9@sha256:5f77e82c4f0edeccfd5e0497aa215b4b0377fd22b84eca75e8d8773bcbc20794_arm64 as a component of Red Hat Ansible Automation Platform 2.7; registry.redhat.io/ansible-automation-platform-27/gateway-rhel9@sha256:d14006bbb87f890f0da365a84ea28a093d145de0ea4583c7db8eb85bffe4c457_amd64 as a component of Red Hat Ansible Automation Platform 2.7
Affected versionsThe structured affected or fixed version information changed.
Before
>= 8.0.0, < 8.0.5; >= 7.0.0, < 7.3.2; >= 6.0.0, < 6.4.2; < 0.1.16 · Fixed: No fixed version is explicitly recorded in the structured CVE data.
After
>= 8.0.0, < 8.0.5; >= 7.0.0, < 7.3.2; >= 6.0.0, < 6.4.2; < 0.1.16 · Fixed: For details on how to apply this update, refer to Ansible Automation Platform documentation.
Affected versionsThe structured affected or fixed version information changed.
Before
ansible-automation-platform-26/gateway-rhel9 as a component of Red Hat Ansible Automation Platform 2; automation-controller.src as a component of Red Hat Ansible Automation Platform 2; vite as a component of Red Hat Build of Keycloak; podman-desktop-macos-1-0 as a component of Red Hat Build of Podman Desktop; podman-desktop-windows-1-0 as a component of Red Hat Build of Podman Desktop; redhat-user-workloads/bootc-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/openshift-local-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/rhel-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/art-images as a component of Red Hat OpenShift Container Platform 4 · Fixed: automation-gateway-server-0:2.5.20260422-3.el8ap.noarch as a component of Red Hat Ansible Automation Platform 2.5 for RHEL 8; automation-gateway-server-0:2.5.20260422-3.el9ap.noarch as a component of Red Hat Ansible Automation Platform 2.5 for RHEL 9; automation-platform-ui-0:2.6.9-1.el9ap.noarch as a component of Red Hat Ansible Automation Platform 2.6 for RHEL 9; automation-platform-ui-0:2.6.9-1.el9ap.src as a component of Red Hat Ansible Automation Platform 2.6 for RHEL 9; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:0233c53a96cc685fc0d82596b84ab8a783ce7affba89dd85def7ad7eacf5bdfe_s390x as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:574420f56707cf437a81dc92ad5ec529d9e9c5a668dbd569b41becc7fde7e194_ppc64le as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:60e660bf0d066c3f799259e57000dcb1d7974753c49771d15361321353ebeb4a_amd64 as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:bc80d85ced33bf5b7dc60d6d7555949c98cc4ee506d10ea5bb8a8691e58e8f42_arm64 as a component of Red Hat Ansible Automation Platform 2.6
After
automation-controller.src as a component of Red Hat Ansible Automation Platform 2; vite as a component of Red Hat Build of Keycloak; podman-desktop-macos-1-0 as a component of Red Hat Build of Podman Desktop; podman-desktop-windows-1-0 as a component of Red Hat Build of Podman Desktop; redhat-user-workloads/bootc-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/openshift-local-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/rhel-ext as a component of Red Hat Build of Podman Desktop - Tech Preview; redhat-user-workloads/art-images as a component of Red Hat OpenShift Container Platform 4 · Fixed: automation-gateway-server-0:2.5.20260422-3.el8ap.noarch as a component of Red Hat Ansible Automation Platform 2.5 for RHEL 8; automation-gateway-server-0:2.5.20260422-3.el9ap.noarch as a component of Red Hat Ansible Automation Platform 2.5 for RHEL 9; automation-platform-ui-0:2.6.9-1.el9ap.noarch as a component of Red Hat Ansible Automation Platform 2.6 for RHEL 9; automation-platform-ui-0:2.6.9-1.el9ap.src as a component of Red Hat Ansible Automation Platform 2.6 for RHEL 9; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:0233c53a96cc685fc0d82596b84ab8a783ce7affba89dd85def7ad7eacf5bdfe_s390x as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:574420f56707cf437a81dc92ad5ec529d9e9c5a668dbd569b41becc7fde7e194_ppc64le as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:60e660bf0d066c3f799259e57000dcb1d7974753c49771d15361321353ebeb4a_amd64 as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-tech-preview/mcp-server-rhel9@sha256:bc80d85ced33bf5b7dc60d6d7555949c98cc4ee506d10ea5bb8a8691e58e8f42_arm64 as a component of Red Hat Ansible Automation Platform 2.6; registry.redhat.io/ansible-automation-platform-27/gateway-rhel9@sha256:5f77e82c4f0edeccfd5e0497aa215b4b0377fd22b84eca75e8d8773bcbc20794_arm64 as a component of Red Hat Ansible Automation Platform 2.7; registry.redhat.io/ansible-automation-platform-27/gateway-rhel9@sha256:d14006bbb87f890f0da365a84ea28a093d145de0ea4583c7db8eb85bffe4c457_amd64 as a component of Red Hat Ansible Automation Platform 2.7
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.