1. Cleus
  2. Zero-days
  3. CVE-2025-31125
Exploited in the wildServers & business softwareWork IT

CVE-2025-31125 Vite Vitejs: login or permission bypass

In plain words: A door that should be locked is not: part of the system can be reached without a valid login or permission. The attacker gets in as a user or administrator without knowing a password.

Confirmed exploited by CISA on · US federal patch deadline Feb 12, 2026

What to do

  1. Install Vite's security update for Vitejs. If no update exists, follow the vendor's workaround or stop using the product until one ships.
  2. Keep a list of every internet-facing server you run so nothing is forgotten.
  3. Patch anything in this catalog first, ahead of normal patch cycles.
  4. Put admin and file-transfer apps behind a VPN or single sign-on instead of the open internet.

Who is affected

Work IT. Aimed mostly at company systems — you are affected through the companies you use, not your own phone.

What's at risk: Mass data theft and ransomware: a single flaw in a file-transfer or email server has exposed thousands of organisations at once.

The details

Official name
Vite Vitejs Improper Access Control Vulnerability
Product
Vite Vitejs
CISA description
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.
Type of flaw
Login or permission bypass (CWE-200, CWE-284)
Confirmed exploited
Jan 22, 2026
US federal patch deadline
Feb 12, 2026

Ask Cleus about it

Ask about a vulnerability, an update, a weird message, or the news. Plain-word answers, free, no account.

Answering about CVE-2025-31125 ·

Questions about CVE-2025-31125

Is CVE-2025-31125 being exploited?

Yes. CISA added CVE-2025-31125 to its Known Exploited Vulnerabilities catalog on Jan 22, 2026, which means there is reliable evidence of real-world attacks.

How do I fix CVE-2025-31125?

Install Vite's security update for Vitejs. If no update exists, follow the vendor's workaround or stop using the product until one ships. Keep a list of every internet-facing server you run so nothing is forgotten.

Am I affected by CVE-2025-31125?

Only if you use Vite Vitejs. Aimed mostly at company systems — you are affected through the companies you use, not your own phone.

Newest exploited vulnerabilities

Search every known exploited vulnerability →