5.3Mittel KEV

CVE-2025-31125Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query

vitejs vite Veröffentlicht: (vor 1 Jahr)

Bekannt ausgenutzt — Vite Vitejs Improper Access Control Vulnerability

CISA hat am 22.01.2026 bestätigt, dass diese Schwachstelle in echten Angriffen genutzt wird. Frist für US-Bundesbehörden: 12.02.2026.

Erforderliche Maßnahme: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. 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

Beschreibung

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.

Schwachstellentyp (CWE): CWE-200CWE-284

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
vitejs vite >= 6.2.0, < 6.2.4, >= 6.1.0, < 6.1.3, >= 6.0.0, < 6.0.13, >= 5.0.0, < 5.4.16, < 4.5.11

Referenzen und Patches

CPE-Treffer (NVD) (5)

  • cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* < 4.5.11
  • cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* ≥ 5.0.0 < 5.4.16
  • cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* ≥ 6.0.0 < 6.0.13
  • cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* ≥ 6.1.0 < 6.1.3
  • cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* ≥ 6.2.0 < 6.2.4