Back to the CVE list
CVE-2025-31125 CISA KEV · Actively exploited

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

CVSS score

5.3

EPSS probability

%65.2

Risk score

6.9

Published

1 y ago

The vendor has stated that there is no patch

Erişimi kısıtlayın, geçici azaltımları uygulayın ve üretici bültenini izleyin.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

DayBreach CVE AI Research

CVE-2025-31125 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.

A flaw was found in the Vite Node.js package. 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 the `--host` or `server.host` config options) are affected.

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2025-31125 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1Red Hatred_hat_openshift_distributed_tracing_3:rhosdt/tempo-gateway-opa-rhel8 View
2Red Hatred_hat_openshift_distributed_tracing_3:rhosdt/tempo-gateway-rhel8 View
3Red Hatred_hat_openshift_distributed_tracing_3:rhosdt/tempo-jaeger-query-rhel8 View
4Red Hatred_hat_openshift_distributed_tracing_3:rhosdt/tempo-query-rhel8 View
5Red Hatred_hat_openshift_distributed_tracing_3:rhosdt/tempo-rhel8 View
6Red Hatred_hat_openshift_distributed_tracing_3:rhosdt/tempo-rhel8-operator View
7ViteVitejs View
Total affected vendors: 2|Products: 7

RED HAT CSAF/VEX: Product Impact Check

Does this CVE affect my Red Hat product?

The results come directly from the Red Hat CSAF VEX product status; they are not estimates.

Not affected

Red Hat VEX kaydına göre bu ürün etkilenmiyor.

Red Hat fixes

Out of support scope

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
5.3cvss_v3MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NRed Hat

Patch and Remediation Guide

Solution & Remediation Advisory

No patch (vendor)

Üretici kaynağı düzeltme bulunmadığını veya düzeltme planlanmadığını açıkça bildiriyor.

redhat

Out of support scope

canonical

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Until a patch is confirmed, follow the vendor advisory; do not read an unknown status as “no patch”.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

CVE-2025-31125 : the database holds 1 public PoC/exploit sources for it. For direct links to the sources, open the Public Exploits tab.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-31125 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-31125 weaknesses.

Attack Vector and Accessibility

ExposureAğ üzerinden
PermissionsGerekmiyor
UserGerekiyor

Official Sources and Advisories

CVSS Vector Radar Chart

5.3 / 10
Attack VectorNetworkComplexityHighPrivilegesNoneUser Interact.RequiredConfidentialityHighIntegrityNoneAvailabilityNone

Vulnerability Scoring Details

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone required
User Interaction—
Confidentiality (Gizlilik)High
Integrity (Bütünlük)None
Availability (Erişilebilirlik)None

Yama yok (üretici)

Üretici kaynağı düzeltme bulunmadığını veya düzeltme planlanmadığını açıkça bildiriyor.

Follow the vendor

RH
Red Hat logo
Red Hat
V
Vite logo
Vite

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2025-31125"