CVE-2025-31125

CRITICALNVD 5.39.0
EchelonGraph scoreHIGH confidence

“▲” beside the score: it is higher than NVD's CVSS score.

Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2026-01-22), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 5.3 retained for reference. The 9.0 is the floor for confirmed exploitation, not an impact rating: this CVE's impact severity (EG Severity) is CVSS 5.3 MEDIUM under GitHub Security Advisory CVSS. Confidence: HIGH.

Triggered by: CISA KEV (actively exploited)
Sources: CISA Known Exploited Vulnerabilities catalog, EPSS, GitHub Security Advisory, NVD CVSS v3
Trending — 3 sources updated this weekExploited in the wild

Also known asEUVD-2025-8866 (ENISA EUVD) · GHSA-4r4m-qw57-chr8 (GitHub Security Advisories)Source: ENISA EUVD

9.0EG
EchelonGraph verdictPatch nowTreat as an emergency — this is being exploited.
  • Actively exploited in the wild (CISA-KEV) — the reason this is sooner than the SSVC decision on this page at low or medium mission impact
CISA-KEV: ExploitedEPSS PROB: 75%CVSS: 5.3Exploit: Public PoCExposed services: Not assessed

A fix is available — apply it.

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 v3
5.3
EG Score
9.0CRITICALhigh confidence
EG Risk
64
EG Risk 64/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity53% × 45%
Impact severity (EG Severity): CVSS 5.3 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation100% × 40%
Fixed at 100% for a CISA KEV listing: EchelonGraph's rule.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Attend at medium and Act at high mission impact.
Exploitation active (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low, sooner than that at medium and as soon as possible at high mission impact.
EPSS PROB
75%
EPSS %ILE
99th
KEV
⚠ Exploited

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.0): severity, escalated by confirmed exploitation. This CVE's 9.0 is the CISA KEV floor for confirmed exploitation, not an impact rating: its impact severity (EG Severity) is CVSS 5.3 MEDIUM.

EG Severity
5.3 MEDIUMCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
75% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
CISA KEV and EG-KEV Tier 1 (exploited in the wild)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Attend at medium mission impactTrack at low, Attend at medium and Act at high mission impact.CISA BOD 26-04: 3 days & forensic triage if the affected system is publicly exposed; 14 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low, Attend at medium and Act at high mission impact.

A fix is available. Apply it within your standard update timelines at low, sooner than that at medium and as soon as possible at high mission impact.

Exploitation active (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days & forensic triage if the affected system is publicly exposed; 14 days if it is not.

The score's inputs: In CISA KEV yes (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

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.”

Quoted verbatim from CISA's Known Exploited Vulnerabilities catalog. CISA directs it at US federal civilian executive branch agencies under Binding Operational Directive (BOD) 26-04, which replaced BOD 22-01 on 10 June 2026; it is not EchelonGraph's advice. CISA's notes: https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 · https://nvd.nist.gov/vuln/detail/CVE-2025-31125

Published

March 31, 2025

Last Modified

January 23, 2026

Advisory Details (3)

Auto-updated Oct 27, 2026
⚠️ Actively exploited (CISA KEV, CISA Vulnrichment). Patch available. Sources: github_commit, github, cisa.
CISA🔴 Active Exploitation

Known Exploited Vulnerabilities Catalog | CISA

Known Exploited Vulnerabilities Catalog | CISA. Listed in CISA Known Exploited Vulnerabilities catalog.

https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125
GitHub advisoryMentions a patch (unverified)🟡 PoC Available

`server.fs.deny` bypassed for `inline` and `raw` with `?import` query · Advisory · vitejs/vite · GitHub

https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
GitHub commit Patch Available

commit 59673137c45a (vitejs/vite)

Patch available: vitejs/vite v8.1.2 (contains commit 59673137c45a)

https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949

Patch Availability(5)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
npmvite @ 6.2.4 (fixes >= 6.2.0, < 6.2.4)—ghsa
npmvite @ 6.1.3 (fixes >= 6.1.0, < 6.1.3)—ghsa
npmvite @ 4.5.11 (fixes < 4.5.11)—ghsa
npmvite @ 6.0.13 (fixes >= 6.0.0, < 6.0.13)—ghsa
npmvite @ 5.4.16 (fixes >= 5.0.0, < 5.4.16)—ghsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(1 across 1 ecosystem)
npm(1)
PackageVulnerable rangeFix by version rangeDependents
vite—
  • 6.2.0 up to 6.2.4: fixed in 6.2.4
  • 6.1.0 up to 6.1.3: fixed in 6.1.3
  • 6.0.0 up to 6.0.13: fixed in 6.0.13
  • 5.0.0 up to 5.4.16: fixed in 5.4.16
  • every version up to 4.5.11: fixed in 4.5.11
—

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 16× in last 7d / 55× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 98 of 283 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 2 repeat rows among the latest 100 are merged into the row they repeat. The 185 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-01 22:45 UTCEG score recompute
  2. 2026-11-01 22:45 UTCGHSA enrichmentGHSA-4r4m-qw57-chr8 · GitHub severity MODERATE · GitHub CVSS 5.3
  3. 2026-11-01 08:07 UTCGHSA enrichmentGHSA-4r4m-qw57-chr8 · GitHub severity MODERATE · GitHub CVSS 5.3
  4. 2026-11-01 08:07 UTCEG score recompute
  5. 2026-10-31 23:08 UTCEG score recompute
  6. 2026-10-31 16:31 UTCEPSS rescoreEPSS 75% · 99th percentile
  7. 2026-10-30 23:31 UTCEG score recompute
  8. 2026-10-30 16:32 UTCEPSS rescoreEPSS 75% · 99th percentile
  9. 2026-10-29 23:54 UTCEG score recompute
  10. 2026-10-29 16:31 UTCEPSS rescoreEPSS 75% · 99th percentile
  11. 2026-10-29 00:16 UTCEG score recompute
  12. 2026-10-28 16:30 UTCEPSS rescoreEPSS 66% · 99th percentile
  13. 2026-10-28 00:39 UTCEG score recompute
  14. 2026-10-27 16:30 UTCEPSS rescoreEPSS 66% · 99th percentile
  15. 2026-10-27 01:01 UTCEG score recompute
  16. 2026-10-26 16:29 UTCEPSS rescoreEPSS 66% · 99th percentile
  17. 2026-10-25 16:35 UTCEG score recompute
  18. 2026-10-25 16:31 UTCEPSS rescoreEPSS 66% · 99th percentile
  19. 2026-10-25 01:45 UTCEG score recompute
  20. 2026-10-24 16:31 UTCEPSS rescoreEPSS 66% · 99th percentile
  21. 2026-10-24 02:08 UTCEG score recompute
  22. 2026-10-23 02:30 UTCEG score recompute
  23. 2026-10-22 16:32 UTCEPSS rescoreEPSS 65% · 99th percentile
  24. 2026-10-22 02:53 UTCEG score recompute
  25. 2026-10-21 16:31 UTCEPSS rescoreEPSS 65% · 99th percentile
Show 73 more
  1. 2026-10-21 03:15 UTCEG score recompute
  2. 2026-10-20 16:31 UTCEPSS rescoreEPSS 65% · 99th percentile
  3. 2026-10-20 03:36 UTCEG score recompute
  4. 2026-10-19 16:30 UTCEPSS rescoreEPSS 65% · 99th percentile
  5. 2026-10-19 03:57 UTCEG score recompute
  6. 2026-10-18 04:19 UTCEG score recompute
  7. 2026-10-17 16:32 UTCEPSS rescoreEPSS 65% · 99th percentile
  8. 2026-10-17 04:33 UTCEG score recompute
  9. 2026-10-16 16:38 UTCEPSS rescoreEPSS 65% · 99th percentile
  10. 2026-10-16 04:54 UTCEG score recompute
  11. 2026-10-15 05:16 UTCEG score recompute
  12. 2026-10-14 16:31 UTCEPSS rescoreEPSS 65% · 99th percentile
  13. 2026-10-14 05:36 UTCEG score recompute
  14. 2026-10-13 16:32 UTCEPSS rescoreEPSS 65% · 99th percentile
  15. 2026-10-12 17:12 UTCEG score recompute
  16. 2026-10-12 16:32 UTCEPSS rescoreEPSS 65% · 99th percentile
  17. 2026-10-11 20:44 UTCEG score recompute
  18. 2026-10-11 18:54 UTCEG score recompute
  19. 2026-10-11 15:13 UTCEG score recompute
  20. 2026-10-11 13:47 UTCEPSS rescoreEPSS 65% · 99th percentile
  21. 2026-10-11 11:26 UTCEG score recompute
  22. 2026-10-10 20:20 UTCEG score recompute
  23. 2026-10-10 19:59 UTCEPSS rescoreEPSS 65% · 99th percentile
  24. 2026-10-08 19:20 UTCEG score recompute
  25. 2026-10-08 17:09 UTCEPSS rescoreEPSS 65% · 99th percentile
  26. 2026-10-08 00:30 UTCEG score recompute
  27. 2026-10-07 23:46 UTCEPSS rescoreEPSS 65% · 99th percentile
  28. 2026-10-06 18:19 UTCEG score recompute
  29. 2026-10-06 15:16 UTCEPSS rescoreEPSS 65% · 99th percentile
  30. 2026-10-03 14:51 UTCEG score recompute
  31. 2026-10-03 14:24 UTCEPSS rescoreEPSS 65% · 99th percentile
  32. 2026-10-02 20:03 UTCEG score recompute
  33. 2026-10-01 21:28 UTCEG score recompute
  34. 2026-10-01 19:49 UTCEPSS rescoreEPSS 65% · 99th percentile
  35. 2026-09-30 15:23 UTCEG score recompute
  36. 2026-09-30 15:02 UTCEPSS rescoreEPSS 65% · 99th percentile
  37. 2026-09-29 16:45 UTCEG score recompute
  38. 2026-09-29 15:19 UTCEPSS rescoreEPSS 65% · 99th percentile
  39. 2026-09-28 21:55 UTCEG score recompute
  40. 2026-09-28 14:22 UTCEG score recompute
  41. 2026-09-28 13:50 UTCEPSS rescoreEPSS 65% · 99th percentile
  42. 2026-09-27 21:51 UTCCISA KEV update
  43. 2026-09-27 15:46 UTCEG score recompute
  44. 2026-09-26 17:10 UTCEG score recompute
  45. 2026-09-26 15:58 UTCEPSS rescoreEPSS 65% · 99th percentile
  46. 2026-09-26 02:00 UTCEG score recompute
  47. 2026-09-26 00:24 UTCEPSS rescoreEPSS 65% · 99th percentile
  48. 2026-09-25 19:35 UTCCISA KEV update
  49. 2026-09-25 14:55 UTCCISA KEV update
  50. 2026-09-24 19:31 UTCCISA KEV update
  51. 2026-09-24 16:03 UTCEG score recompute
  52. 2026-09-24 14:02 UTCEPSS rescoreEPSS 65% · 99th percentile
  53. 2026-09-23 17:29 UTCEG score recompute
  54. 2026-09-23 13:47 UTCEPSS rescoreEPSS 58% · 99th percentile
  55. 2026-09-22 19:36 UTCCISA KEV update
  56. 2026-09-22 15:10 UTCEG score recompute
  57. 2026-09-22 00:07 UTCEG score recompute
  58. 2026-09-21 19:09 UTCCISA KEV update
  59. 2026-09-18 20:45 UTCEG score recompute
  60. 2026-09-18 19:27 UTCEPSS rescoreEPSS 58% · 99th percentile
  61. 2026-09-18 19:20 UTCCISA KEV update
  62. 2026-09-18 14:15 UTCCISA KEV update
  63. 2026-09-17 22:09 UTCEG score recompute
  64. 2026-09-16 16:03 UTCEG score recompute
  65. 2026-09-16 14:10 UTCCISA KEV update
  66. 2026-09-16 14:07 UTCEPSS rescoreEPSS 58% · 99th percentile
  67. 2026-09-16 08:31 UTCEG score recompute
  68. 2026-09-16 05:13 UTCEPSS rescoreEPSS 58% · 99th percentile
  69. 2026-09-15 06:07 UTCEG score recompute
  70. 2026-09-14 19:24 UTCCISA KEV update
  71. 2026-09-12 17:54 UTCEG score recompute
  72. 2026-09-12 15:00 UTCEPSS rescoreEPSS 58% · 99th percentile
  73. 2026-09-11 18:49 UTCCISA KEV update

Publicly available exploits

(2 references)

Public exploit code is referenced for this CVE (1 GitHub PoC), as is 1 Nuclei detection template. A detection template checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.

  • Nucleihttp/cves/2025/CVE-2025-31125.yaml
    Published Apr 9, 2025

    Vite Development Server - Path Traversal

    Open source ↗
  • GitHub PoCsunhuiHi666/CVE-2025-31125
    Published Apr 1, 2025

    Vite 任意文件读取漏洞POC

    Open source ↗

Frequently asked(6)

What is CVE-2025-31125?
CVE-2025-31125 is a critical-severity vulnerability; its CVE record was published on March 31, 2025. 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,…
When was the CVE record for CVE-2025-31125 published?
The CVE record for CVE-2025-31125 was published on March 31, 2025. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of January 23, 2026; the record at its source may have been updated since.
Is CVE-2025-31125 actively exploited?
Yes. CISA added CVE-2025-31125 to the Known Exploited Vulnerabilities catalog on January 22, 2026, affecting Vite Vitejs. KEV listing indicates confirmed exploitation in the wild; this CVE warrants immediate attention. A fix is available. Apply it.
What is the CVSS score of CVE-2025-31125?
CVE-2025-31125 has a CVSS v3 base score of 5.3 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 9.0 (CRITICAL).
Which products are affected by CVE-2025-31125?
CVE-2025-31125 affects Vite Vitejs. The affected packages EchelonGraph has on record, with version ranges, are listed in the Affected Packages section of this page.
How do I remediate CVE-2025-31125?
A fix for CVE-2025-31125 is available: update to the fixed version the vendor names in its advisory.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-31125

Explore →

Is Your Infrastructure Affected by CVE-2025-31125?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.