high Known exploitedREV. 01

CVE-2025-31125Vite — development server serves files outside the allow list

Vite's development server returns the contents of files it should not serve when a request adds certain query suffixes. Only projects that deliberately expose the development server to the network are affected.

YOUR NEXT MOVE

Upgrade Vite to 6.2.4, 6.1.3, 6.0.13, 5.4.16 or 4.5.11 now; keep the development server bound to localhost rather than the network.

Read the risk

THE VITAL STATS
CVSS score
7.5/ 10
CVSS v3.1
EPSS probability
58%
Likelihood of exploitation
Attack complexity
Low
Conditions needed to exploit
Known exploited
Yes — CISA KEV
CVE published
2025-03-31
Added to KEV
2026-01-22
Exploit published
Yes
Confidence
high
Kill chain
collection
MITRE ATT&CK
T1083
Severity
high

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Attacker needsNetwork reach to a Vite development server started with host binding enabled.

Fixed inVite 6.2.4, Vite 6.1.3, Vite 6.0.13, Vite 5.4.16, Vite 4.5.11

Behind the card

4 REFERENCES
Field-level provenanceTRACE THE SOURCES +

Which source supports each field, when it was retrieved, and who extracted it.

FieldsSourceRetrievedExtractorConfidence
cvss, exploitation.attack_complexity, exploitation.exploit_available, references, published_atnvd.nist.gov2026-09-24scrty-crds-pipeline/0.1high
exploitation.known_exploited, exploitation.kev_addedcisa.gov2026-09-24scrty-crds-pipeline/0.1high
epssapi.first.org2026-09-24scrty-crds-pipeline/0.1high
title, summary, severity, remediation, mitre_attack, kill_chain, recommended_action, confidence, tags, exploitation.prerequisitesnvd.nist.gov2026-09-24claude-codehigh

Printing history

THE RECORD
  1. r1Initial base card

First printing. This card has not been reprinted since publication.

crds:cve-2025-31125 · CRDS 0.1 · Issued 2026-09-24