Vite Vitejs Improper Access Control Vulnerability (CVE-2025-31125)
Severity: high · Patch status: patched · Since 2026-01-22 · CVE-2025-31125
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. CISA added CVE-2025-31125 to its Known Exploited Vulnerabilities catalog on Jan 22, 2026, which means attackers are exploiting it in the wild.
What to do
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- US federal agencies must remediate by Feb 12, 2026 (BOD 22-01); treat that as the outer limit.
Sources
All live incidents on Threat Watch