CVE-2025-31125
CONFIRMED EXPLOITEDVite Vitejs Improper Access Control Vulnerability
Is Vite Vitejs affected by CVE-2025-31125?
Vite Vitejs is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2025-31125, added on 2026-01-22. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (5 vulnerable CPE entries): vitejs vite.
Published CPE version bounds mark releases below 6.2.4 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2026-02-12.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2015-3306Shared weaknessProFTPD ProFTPD
ProFTPD Improper Access Control Vulnerability
- CVE-2026-81963Shared weaknessMicrosoft Windows
Microsoft Windows Link Following Vulnerability
- CVE-2026-21962Shared weaknessOracle HTTP Server and Oracle Weblogic Server Proxy Plug-in
Oracle HTTP Server and Oracle Weblogic Server Proxy Plug-in Improper Access Control Vulnerability
- CVE-2025-68686Shared weaknessFortinet FortiOS
Fortinet FortiOS Exposure of Sensitive Information to an Unauthorized Actor Vulnerability
- CVE-2026-20045Neighboring entryCisco Unified Communications Manager
Cisco Unified Communications Products Code Injection Vulnerability
- CVE-2025-34026Neighboring entryVersa Concerto
Versa Concerto Improper Authentication Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
Vite is a frontend tooling framework for javascript. Vite 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. This vulnerability is fixed in 6.2.4, 6.1.3, 6.0.13, 5.4.16, and 4.5.11.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-01-22. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Vitejs has been compromised.
- High Confidentiality impact (C:H): unauthorized disclosure of sensitive memory, credentials, or files.
- Network service surface (Vite Vitejs): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Inventory all hosts running Vite Vitejs and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949Patch
- https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8ExploitVendor Advisory
- https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8ExploitVendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting