Vite Vitejs Improper Access Control Vulnerability (CVE-2025-31125)
VulnerabilityExploited in the wildHighOfficial source
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.
Facts
- Organisation
- Vite
- Product
- Vitejs
- CVE
- CVE-2025-31125
- Exploitation
- Exploited in the wild
- EPSS, chance of attacks in 30 days
- 15 %
- Made public
- Jan 22, 2026
Why this status
A public exploit is not a confirmed attack: the status moves up when exploitation is observed. Evidence comes from public feeds and the cited sources.
Sources
- CISA KEV catalog cisa.gov
- NVD nvd.nist.gov
Summaries are written from the linked sources. Check them before relying on a detail.