CVE-2025-31125Vite Information Disclosure
Vite has a server.fs.deny bypassed for inline and raw with ?import query
Published Mar 31, 2025 · Updated Nov 5, 2026 · Also known as CGA-263v-cc49-26mj, CGA-4896-x53g-6fgm, CGA-8552-282p-qpj2, CGA-q93q-3rhq-qgm9, CLSA-2026-1777249675, GHSA-4r4m-qw57-chr8, MINI-qj5j-42h3-7rfg
Key Facts
Patch immediately- CVE-2025-31125 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Vite (Vitejs), langfuse-2 (chainguard), langfuse-2-worker (chainguard) and 10 more products.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since May 30, 2025. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 75% probability of exploitation in the next 30 days.
- Fixed versions are available, including @seal-security/vite 4.4.11-sp999, @vitejs/plugin-react 2.9.18-tuxcare.1, @vitejs/plugin-react 3.2.11-tuxcare.1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
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)
75%
Higher than 99.5% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
61/100
Publication score, see How it works
Exploitation Verdict
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
6
Reports of active use
Required action (CISA): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Advisories And Exploit References
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
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Jan 22, 2026 | Feb 12, 2026 | Not reported |
| Industry KEV feed | May 30, 2025 | Feb 12, 2026 | Not reported |
| CIRCL KEV | Jan 22, 2026 | Feb 12, 2026 | Not reported |
| ENISA EUVD | Jan 22, 2026 | n/a | Not 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
20 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| ViteVitejs | >= 6.2.0, >= 6.2.0, < 6.2.4 | 4.5.11 |
| langfuse-2chainguard | See advisory | 2.95.12-r26 |
| langfuse-2-workerchainguard | See advisory | 2.95.12-r26 |
| langfuse-fips-2chainguard | See advisory | 2.95.12-r28 |
| langfuse-fips-2-workerchainguard | See advisory | 2.95.12-r28 |
Patched Releases
@seal-security/vite
4.4.11-sp999
@vitejs/plugin-react
2.9.18-tuxcare.1, 3.2.11-tuxcare.1
langfuse-2
2.95.12-r26
langfuse-2-worker
2.95.12-r26
langfuse-fips-2
2.95.12-r28
langfuse-fips-2-worker
2.95.12-r28
trigger-dev
4.5.11-r1
Vite
>=6.2.4, 2.9.18-tuxcare.1, 3.2.11-tuxcare.1, 4.1.5-tuxcare.1, 4.4.11-sp999, 4.5.0-tuxcare.1, 4.5.11, 4.5.5-tuxcare.1, 5.0.12-tuxcare.1, 5.4.10-tuxcare.1, 5.4.14-tuxcare.2, 5.4.16, 6.0.13, 6.1.3, 6.2.4
vitejs/vite
>=6.2.4, 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
Publicly disclosed
Mar 31, 2025
Added to Industry KEV feed
May 30, 2025
Added to CISA KEV
Jan 22, 2026
Added to CIRCL KEV
Jan 22, 2026
Added to ENISA EUVD
Jan 22, 2026
Last updated
Nov 5, 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
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2025-31125
- advisoryGHSA advisory
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
Vite is a frontend tooling framework for javascript.
Affected: Vite (Vitejs) versions >= 6.2.0, >= 6.2.0, < 6.2.4; langfuse-2 (chainguard); langfuse-2-worker (chainguard), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since May 30, 2025.
Yes. It was added on Jan 22, 2026 with a federal remediation due date of Feb 12, 2026.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including @seal-security/vite 4.4.11-sp999, @vitejs/plugin-react 2.9.18-tuxcare.1, @vitejs/plugin-react 3.2.11-tuxcare.1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2025-31125 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo