Vulnerabilities/Vite/CVE-2025-31125
CVE-2025-31125: Vite Vitejs Improper Access Control Vulnerability
CISA KEV entry · Last checked 15 Nov 2026, 13:39 UTC
Exploitation confirmedFix: Unknown
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.
Recommended 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.
CISA due date 12 Feb 2026 · CWE-200, CWE-284
Am I affected?
| Product | Affected versions | Fixed in |
|---|---|---|
| vite | >= 6.2.0, < 6.2.4 | Unknown |
| vite | >= 6.1.0, < 6.1.3 | Unknown |
| vite | >= 6.0.0, < 6.0.13 | Unknown |
| vite | >= 5.0.0, < 5.4.16 | Unknown |
| vite | < 4.5.11 | Unknown |
No source states a fixed version. Check the vendor advisory below.
Before you patch
Restart
See vendor guidance.Known issues
Check release notes.Verification
Confirm installed version.Timeline
- 22 Jan 2026 · Added to CISA KEV
- 12 Feb 2026 · CISA due date
Sources checked
| CISA KEV | 15 Nov 2026, 13:39 UTC |
| CVE List v5 | 30 Oct 2026, 12:10 UTC |
| NVD | 15 Nov 2026, 13:39 UTC |
| FIRST EPSS | 15 Nov 2026, 13:39 UTC |
Data from CISA, MITRE, NVD and FIRST. Sources and licences.
Wrong affected version, fix or exploitation status? Report a correction. Include the vendor source if you have it.