NetSight
mittel5.3Bekannt ausgenutzt

CVE-2025-31125

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

Aktiv ausgenutzt

Diese Schwachstelle steht auf der CISA-Liste Known Exploited Vulnerabilities, aufgenommen am 2026-01-22. Frist für US-Bundesbehörden: 2026-02-12.

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

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmvite>= 6.2.0, < 6.2.46.2.4

Betroffene Produkte · Vitejs

ProduktBetroffene Versionen
Vite
vor 4.5.11
ab 5.0.0 vor 5.4.16
ab 6.0.0 vor 6.0.13
ab 6.1.0 vor 6.1.3
ab 6.2.0 vor 6.2.4

Schwachstellenklasse

Referenzen