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
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.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | Red Hat | red_hat_openshift_distributed_tracing_3:rhosdt/tempo-gateway-opa-rhel8 | View |
| 2 | Red Hat | red_hat_openshift_distributed_tracing_3:rhosdt/tempo-gateway-rhel8 | View |
| 3 | Red Hat | red_hat_openshift_distributed_tracing_3:rhosdt/tempo-jaeger-query-rhel8 | View |
| 4 | Red Hat | red_hat_openshift_distributed_tracing_3:rhosdt/tempo-query-rhel8 | View |
| 5 | Red Hat | red_hat_openshift_distributed_tracing_3:rhosdt/tempo-rhel8 | View |
| 6 | Red Hat | red_hat_openshift_distributed_tracing_3:rhosdt/tempo-rhel8-operator | View |
| 7 | Vite | Vitejs | View |
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.
Red Hat VEX kaydına göre bu ürün etkilenmiyor.
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.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 5.3 | cvss_v3 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N | Red Hat |
Patch and Remediation Guide
Solution & Remediation Advisory
Üretici kaynağı düzeltme bulunmadığını veya düzeltme planlanmadığını açıkça bildiriyor.
Out of support scope
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
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
Official Sources and Advisories
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"