Quick answer
Yes. CVE-2025-31125 in Vite Vitejs is being exploited by attackers: CISA added it to its Known Exploited Vulnerabilities catalogue on January 22, 2026. If you run Vitejs, apply the vendor's fix now and check for signs of compromise.
What is 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.
Description from the CISA Known Exploited Vulnerabilities catalogue.
What kind of flaw is it?
Sensitive information is disclosed to someone who should not see it.
Other exploited information exposureThe system does not properly restrict who can do what.
Other exploited improper access control How it worksWhy it matters
This vulnerability affects software outside the main categories, but inclusion in the exploited catalogue means attackers are already using it.
Higher than 100% of all scored vulnerabilities.
Am I affected? How to check | What to do now |
|---|---|
1Confirm whether you run the affected product. | 1Apply the vendor fix or mitigation. |
2Check the installed version against the vendor advisory. | 2Review logs for signs of exploitation since disclosure. |
3Check whether the affected service is reachable from the internet. | 3If the service was exposed while unpatched, treat it as potentially compromised and rotate any credentials it holds. |
Am I affected? How to check
- 1Confirm whether you run the affected product.
- 2Check the installed version against the vendor advisory.
- 3Check whether the affected service is reachable from the internet.
What to do now
- 1Apply the vendor fix or mitigation.
- 2Review logs for signs of exploitation since disclosure.
- 3If the service was exposed while unpatched, treat it as potentially compromised and rotate any credentials it holds.
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Deadline and priority
CISA requires US federal civilian agencies to remediate catalogued vulnerabilities by the listed due date under Binding Operational Directive 22-01 (February 12, 2026 for this one), and strongly urges every organization to prioritize them the same way.
Common questions
Is CVE-2025-31125 being exploited?
Yes. It is listed in CISA's Known Exploited Vulnerabilities catalogue, which only includes vulnerabilities with confirmed exploitation in the wild. It was added on January 22, 2026.
How do I fix CVE-2025-31125?
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Check the vendor advisory for fixed versions, and if the system was exposed while unpatched, investigate it for signs of compromise.
Is my Vite Vitejs affected?
Check your installed version against the vendor advisory linked on this page. If the affected component is reachable from the internet and unpatched, assume it is at risk and act immediately.