Amenazas en vivo

Todas las CVE / Vitejs

CVE-2025-46565Vitejs Vite

Media 6.0 Sin autenticación

Prioridad
51
CVSS 4.0
6.0
EPSS
—
Requiere autenticación
No
Publicada
1 may 2025
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-22
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

Vite is a frontend tooling framework for javascript. Prior to versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14, the contents of files in the project root that are denied by a file matching pattern can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. Only files that are under project root and are denied by a file matching pattern can be bypassed. `server.fs.deny` can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns). These patterns were able to bypass for files under `root` by using a combination of slash and dot (/.). This issue has been patched in versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Vite.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
npm vite ≥ 6.3.0 < 6.3.4 6.3.4 npm install vite@6.3.4
npm vite ≥ 6.2.0 < 6.2.7 6.2.7 npm install vite@6.2.7
npm vite ≥ 6.0.0 < 6.1.6 6.1.6 npm install vite@6.1.6
npm vite ≥ 5.0.0 < 5.4.19 5.4.19 npm install vite@5.4.19
npm vite < 4.5.14 4.5.14 npm install vite@4.5.14

Según OSV / GitHub Advisories (GHSA-859w-5945-r5v3). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
vitejsvite< 4.5.14
vitejsvite≥ 5.0.0 < 5.4.19
vitejsvite≥ 6.0.0 < 6.1.6
vitejsvite≥ 6.2.0 < 6.2.7
vitejsvite≥ 6.3.0 < 6.3.4

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.