Skip to content
Vulnerability Intelligence

CVE-2025-31125

HighExploitedPublic exploit

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

Published Mar 31, 2025 · Updated Sep 10, 2026 · Also known as GHSA-4r4m-qw57-chr8

Key Facts

Patch immediately
  • CVE-2025-31125 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Vite (Vitejs), langfuse-2 (chainguard), langfuse-fips-2 (chainguard) and 7 more products.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since May 30, 2025. Public exploit code is available.
  • EPSS estimates a 65% probability of exploitation in the next 30 days.
  • Fixed versions are available, including @seal-security/vite 4.4.11-sp999, langfuse-2 2.95.12-r26, langfuse-fips-2 2.95.12-r28.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v3.1

7.5

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

EPSS (30-day exploit likelihood)

65%

Higher than 99.2% of all scored CVEs

Exploited in the wild

Yes

4 catalog listings

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2025-31125 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVJan 22, 2026Feb 12, 2026Not reported
Industry KEV feedMay 30, 2025Feb 12, 2026Not reported
CIRCL KEVJan 22, 2026Feb 12, 2026Not reported
ENISA EUVDJan 22, 2026n/aNot reported

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.

Affected Products

14 affected entries in total
ProductAffected versionsFixed in
ViteVitejs>= 6.2.0, >= >= 6.2.0, < 6.2.44.5.11
langfuse-2chainguardSee advisory2.95.12-r26
langfuse-fips-2chainguardSee advisory2.95.12-r28
vitess-18.0chainguardSee advisory18.0.8-r10
vitess-19.0chainguardSee advisory19.0.10-r5
5 more affected products in the full CVE brief

Patched Releases

@seal-security/vite

4.4.11-sp999

langfuse-2

2.95.12-r26

langfuse-fips-2

2.95.12-r28

trigger-dev

4.5.11-r1

Vite

>=6.2.4, 4.4.11-sp999, 4.5.11, 5.4.16, 6.0.13, 6.1.3, 6.2.4

vitess-18.0

18.0.8-r10

vitess-19.0

19.0.10-r5

vitess-20.0

20.0.6-r6

vitess-21.0

21.0.3-r5

Timeline

  1. Publicly disclosed

    Mar 31, 2025

  2. Added to Industry KEV feed

    May 30, 2025

  3. Added to CISA KEV

    Jan 22, 2026

  4. Added to CIRCL KEV

    Jan 22, 2026

  5. Added to ENISA EUVD

    Jan 22, 2026

  6. Last updated

    Sep 10, 2026

Weakness Type

  • CWE-73 External Control of File Name or Path
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-284 Improper Access Control

References

6 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2025-31125 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo