nday
CVE-2025-31125 GHSA-4r4m-qw57-chr8

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

Vite / Vitejs · vitejs / vite

Se incluyó en el KEV 297 días después de la divulgación. nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recoge 1 de las 4 fuentes de PoC: nuclei.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

broken access control
CWE-284, stated by the CNA GitHub_M y NVD, republishing [email protected]
information disclosure
CWE-200, stated by the CNA GitHub_M y NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
nuclei
nuclei templates CVE-2025-31125
etapa
KEV
divulgación
divulgación → KEV
T+297d KEV: solo fecha
cvss
5.3 MEDIUM v3.1
fecha límite KEV
2026-02-12

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2025-03-31T17:06Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
nuclei
ITWexplotada
≤ 2026-01-22, inferida de KEV
KEVen KEV
2026-01-22, solo fecha

Descripción

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 5.3, severidad media. La evaluación SSVC de CISA asigna a la explotación el valor active.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 17623,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-31125",
  "occurred_at": "2025-03-31T17:06:30.704Z",
  "observed_at": "2026-11-12T15:01:53.938848Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "kev": {
      "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125",
      "date_added": "2026-01-22"
    },
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N",
      "version": "3.1",
      "base_score": 5.3,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-01-23T16:58:33.096334Z",
      "automatable": "no",
      "exploitation": "active",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-03-31T17:06:30.704Z",
    "assigner_short_name": "GitHub_M"
  }
}
2026-01-22solo fecha, según la fuente
+KEVinclusión en KEV

CISA la incluyó en su catálogo de vulnerabilidades explotadas conocidas (KEV) y fijó el 2026-02-12 como fecha límite de corrección. Uso en campañas de ransomware: desconocido.

fuente kev · nday , importación masiva · en bruto
{
  "id": 289,
  "type": "kev_added",
  "source": "kev",
  "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
  "occurred_at": "2026-01-22T00:00:00Z",
  "observed_at": "2026-11-12T13:53:00.018191Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cwes": [
      "CWE-200",
      "CWE-284"
    ],
    "notes": "This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 ; https://nvd.nist.gov/vuln/detail/CVE-2025-31125",
    "product": "Vitejs",
    "due_date": "2026-02-12",
    "precision": "day",
    "date_added": "2026-01-22",
    "vendor_project": "Vite",
    "forensic_triage": "No",
    "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.",
    "vulnerability_name": "Vite Vitejs Improper Access Control Vulnerability",
    "known_ransomware_campaign_use": "Unknown"
  }
}
≤ 2026-01-22inferido, sin fuente directa
~ITWexplotación activa

Ninguna fuente indica cuándo empezó la explotación. La inclusión en el KEV implica que ya se estaba produciendo, así que solo se conoce un límite superior. La evaluación SSVC de CISA asigna a la explotación el valor active.

fundamento: kev y evaluación de CISA en cvelist

se desconocela fuente no indica fecha
+POCPoC pública

Nuclei tiene la plantilla de detección CVE-2025-31125 (Vite Development Server - Path Traversal). La fuente no indica cuándo se publicó la plantilla.

fuente nuclei · nday , importación masiva · en bruto
{
  "id": 56754,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-31125.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2025-31125",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-31125.yaml",
    "kind": "detection_template",
    "title": "Vite Development Server - Path Traversal",
    "severity": "medium",
    "confidence": "curated",
    "cvss_score": "5.3",
    "template_id": "CVE-2025-31125",
    "template_path": "http/cves/2025/CVE-2025-31125.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.