7.5

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

CVSS: 7.5v3.1HighKEVAnalyzed
AliasesGHSA-4r4m-qw57-chr8CGA-263v-cc49-26mjCGA-4896-x53g-6fgm
Published 31-03-2025Last modified 23-01-2026

Vulnerability summary

CVE-2025-31125 is a high (CVSS 7.5) vulnerability in Vite Vitejs. It is known to be exploited: CISA lists it, first on 22-01-2026. EPSS estimates a 65.19% chance of exploitation in the next 30 days, higher than 99.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
85/100
0100
Critical · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
65.19%
0%100%
Critical · +6.73 pp in 30 days
KEVListedCISA
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 5

Timeline

  1. 31-03-2025
    PublishedVulnerability first disclosed.
  2. 22-01-2026
    Added to CISA KEVVite Vitejs Improper Access Control Vulnerability
  3. 23-01-2026
    Last modifiedVulnerability information updated.
  4. 12-02-2026
    CISA remediation dueApply mitigations per vendor instructions.

Description

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

65.19%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

+6.73 pp

From 58.46% on 20-09-2026

20-09-202620-10-2026
EPSS score
65.19%

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
22-01-2026
Federal due date
12-02-2026

CISA required 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. nvd.nist.gov/vuln/detail/CVE-2025-31125

Public exploits

1 found
  • githubUnverified

    Vite

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard2 products
  • langfuse-2-worker< 2.95.12-r26
  • langfuse-fips-2-worker< 2.95.12-r28
Npm1 product
  • 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
Vitejs1 product
  • vite< 4.5.11 | ≥ 5.0.0, < 5.4.16 | ≥ 6.0.0, < 6.0.13 | ≥ 6.1.0, < 6.1.3 | ≥ 6.2.0, < 6.2.4

3 vendors · 4 products

References

6 links