netVigilance Vulnerability intelligence since 2004
CVE-2025-31125 · netVigilance record NV26-0006

Vite Vitejs Improper Access Control

past due

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.

CISA deadline 2026-02-12 · passed 6 months ago · applies to US federal civilian agencies; used elsewhere as a reference SLA

What happened

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.

Who is affected

Vite Vitejs. Affected version ranges are listed in the vendor advisory and the NVD entry linked under Sources.

Weakness class: CWE-200, CWE-284.

Timeline

  1. Added to CISA KEVExploitation in the wild confirmed by CISA
  2. CISA remediation deadlinepassed 6 months ago

Sources