Umbra Wiki cve cve/CVE-2025-31125
Back to wiki

CVE-2025-31125 — Vite Vitejs Improper Access Control Vulnerability

provenance: imported · CVE: CVE-2025-31125

CVE-2025-31125: Vite Vitejs Improper Access Control Vulnerability

CISA Known Exploited Vulnerability (KEV)

Vendor / project Vite
Product Vitejs
Date added 2026-01-22
Due date 2026-02-12
Ransomware campaign use Unknown

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.

Required action (CISA)

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Notes

This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 ; https://nvd.nist.gov/vuln/detail/CVE-2025-31125

References

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-31125
  • KEV catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog