CVE-2025-31125β€”Vite Vitejs Improper Access Control Vulnerability

PUBLISHEDvulnerability record
2026-01-22 Β· last modified January 23, 2026

Metadata

CVE ID:
CVE-2025-31125
Project:
Vite
Product:
Vitejs
Date Added:
2026-01-22
Due Date:
2026-02-12
Last Updated:
January 23, 2026

Vulnerability Name

Vite Vitejs Improper Access Control Vulnerability

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.

Known To Be Used in Ransomware Campaigns?

Ransomware Status:
Unknown

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.

Additional Notes

Related News Articles

Related Weaknesses