7.5

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

KEV
Analyzed
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 74.94% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Act nowlisted as exploited

Listed as exploited by CISA (22-01-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
74.94%
0%100%
Critical · 0.00 pp in 30 days
KEVExploited in the wildCritical · listed in 1 catalog
RansomwareNot flaggedNo ransomware 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 KEVExploitedVite Vitejs Improper Access Control Vulnerability
  3. 23-01-2026
    Last modifiedVulnerability information updated.
  4. 12-02-2026
    CISA remediation dueDeadline passedApply 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

74.94%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 74.94% on 04-11-2026

04-11-202604-12-2026

Known exploited

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

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

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

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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