CVE-2025-31125
Actively exploited. CVE-2025-31125 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2026-01-22) — exploitation has been observed in the wild, and US federal agencies are required to remediate it under BOD 22-01. Treat patching as urgent.
Public exploit code is available. Proof-of-concept or working exploit code for CVE-2025-31125 is indexed in GitHub PoC and Nuclei. Expect opportunistic scanning and exploitation attempts — prioritize remediation.
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.
CSIRTS triage
- What
- The vulnerability exposes content of non-allowed files due to improper access control when the Vite dev server is exposed to the network.
- Who is affected
- Only applications explicitly exposing the Vite dev server are affected.
- Urgency
- Remediation is urgent as the vulnerability is actively exploited and critical.
- Action
- Restrict access to the Vite dev server or apply the latest updates.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch CVE-2025-31125
Get an email if CVE-2025-31125 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.
Exploitation outlook
- Exploitation confirmedAlready exploited in the wild (CISA KEV) — the prediction phase is over. Patch now. Riskier than 99% of all EPSS-scored CVEs.
Exploit availability
Public exploit or proof-of-concept code for CVE-2025-31125 is indexed in these free datasets. Available exploit code raises real-world risk independent of the CVSS score.
- GitHub PoCPublic proof-of-concept repositories on GitHub reference this CVE.look it up ↗
- NucleiA nuclei-templates detection/PoC template exists for this CVE.look it up ↗
Advisory coverage (1)
- criticalexploitedCVE-2025-31125: Vite Vitejs Improper Access Control Vulnerabilitycisa-kev · 2026-01-22
External references
Embed the live status
— this badge updates automatically when the KEV or exploit status changes. How to embed it →
[](https://www.csirts.com/cve/CVE-2025-31125)