Under active attack

Vitejs: CVE-2025-31125

Vite Vitejs Improper Access Control Vulnerability. CISA added it to its list of flaws being exploited in the wild on 22 Jan 2026.

CVE
CVE-2025-31125
Vendor
Vite
Product
Vitejs
Added to CISA's exploited list
22 Jan 2026
US federal patch deadline
12 Feb 2026
Used in ransomware campaigns
Not known
Exploit likelihood, next 30 days
75% (higher than 99% of scored flaws)

What CISA says

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, Known Exploited Vulnerabilities catalog

In plain English: Sensitive information exposed

The software reveals information it should keep private, such as internal details, credentials or other users' data.

In plain English: Access control flaw

Access controls are missing or wrong, so people can reach functions or data they were never meant to.

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.

If you run Vitejs, treat this as urgent: attackers are already using it. If you're not sure whether you run it anywhere, start there.

References

Quick answers

Is CVE-2025-31125 being exploited?

Yes. CISA added CVE-2025-31125 (Vitejs) to its Known Exploited Vulnerabilities catalog on 22 Jan 2026, which means there is reliable evidence attackers are using it.

Is CVE-2025-31125 used in ransomware?

CISA does not currently mark CVE-2025-31125 as used in ransomware campaigns. That can change, and it is still being exploited.

When does CVE-2025-31125 have to be fixed?

US federal agencies had to fix it by 12 Feb 2026 under CISA's Binding Operational Directive 22-01. Everyone else should treat that date as a guide: the flaw is already being used.

How likely is CVE-2025-31125 to be exploited?

FIRST's EPSS model puts the chance of exploitation in the next 30 days at 75%, higher than 99% of all scored vulnerabilities (scored 2026-12-04).

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. If you're not sure whether you run Vitejs anywhere, find out first: an up-to-date inventory is the first step.

Know what's exposed before attackers do

Flaws like this are found by testing, not by waiting. Read the difference between a vulnerability scan and a pen test, what a pen test costs, or see AvalonX plans.