CVE-2025-31125
Vite Vitejs Improper Access Control Vulnerability
What the flaw is
Vite Vitejs contains an improper access control vulnerability that exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected.
Description as published by CISA. We have not independently reproduced it.
What CISA requires
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
This deadline is binding on US federal civilian agencies under BOD 22-01. It is not a legal deadline for anyone else, but it is a useful urgency signal — CISA sets it by how actively the flaw is being used, not by CVSS.
Public exploit code
We hold no public exploit references for this CVE. That means our dataset has none — it is not evidence that no exploit exists. CISA has confirmed this vulnerability is being exploited in the wild regardless.
Vendor advisories
Primary sources
Was this page helpful?
If something here is wrong or out of date, tell us and we will check the source.
Thanks — that is recorded.
Source: CISA KEV catalog · last verified July 31, 2026. Rebuilt automatically twice a day.