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

CVSS 3.1 · NVD7.5High
EPSS74.9%100th percentile · 15 Nov 2026
CISA KEVListedAdded 22 Jan 2026

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?

ProductAffected versionsFixed in
vite>= 6.2.0, < 6.2.4Unknown
vite>= 6.1.0, < 6.1.3Unknown
vite>= 6.0.0, < 6.0.13Unknown
vite>= 5.0.0, < 5.4.16Unknown
vite< 4.5.11Unknown

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

References

Sources checked
CISA KEV15 Nov 2026, 13:39 UTC
CVE List v530 Oct 2026, 12:10 UTC
NVD15 Nov 2026, 13:39 UTC
FIRST EPSS15 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.