CVE entry · CVE-2025-31125
CVE-2025-31125: Vite Vitejs Improper Access Control Vulnerability
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.
- Actively exploited: added to CISA’s KEV catalog on January 22, 2026.
- Use by ransomware: not established so far.
- Remediation deadline for US federal agencies: February 12, 2026.
Description from CISA’s KEV catalog.
What to do
- Check whether your estate includes Vitejs, including internet-facing devices.
- Apply the vendor’s patch or mitigations (references below). Failing that, isolate the product or stop using it, as CISA requires of US federal agencies.
- An exploited vulnerability has often been used before it was fixed: look for signs of compromise, especially on internet-facing devices.