llamaCVEVulnerability Intelligence
/
vite

CVE-2025-46565

Vite's server.fs.deny bypassed with /. for files under project root

Parche disponiblepath traversal
Descargar PNG JSON
CVSS 4.0
6.0
Media
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 Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos11 fuente
Parche5 versionesPrimer parche a -1 d de la divulgación
Exposición566 dDesde la divulgación, 1 may 2025, 12:20 p. m.
Detección564 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 4.5.14 +4
Monitoreo
Detectada
30 abr 25
1 may 25
2 may 25
17 nov 26
19 nov 26
30 abr 25
19 sept 25
8 feb 26
30 jun 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 4.5.14 vite · -1 d desde divulgación
Remediación Parche 5.4.19 vite · -1 d desde divulgación
Remediación Parche 6.1.6 vite · -1 d desde divulgación
Remediación Parche 6.2.7 vite · -1 d desde divulgación
Remediación Parche 6.3.4 vite · -1 d desde divulgación
Divulgación Publicada CVE-2025-46565 divulgada · CVSS 6 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

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.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:P
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
vite< 4.5.14
vite≥ 5.0.0 < 5.4.19
vite≥ 6.0.0 < 6.1.6
vite≥ 6.2.0 < 6.2.7
vite≥ 6.3.0 < 6.3.4
4.5.14
5.0.0
5.4.19
6.0.0
6.1.6
6.2.0
6.2.7
6.3.0
6.3.4
8.3.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmvite
Corregida 4.5.14, 5.4.19, 6.1.6, 6.2.7, 6.3.4 -1 d · -1 d · -1 d · -1 d · -1 d 8.3.8 no afectada
Versiones corregidas4.5.145.4.196.1.66.2.76.3.4
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
http/cves/2025/CVE-2025-46565.yaml
1
PoC en GitHub
—
0
Referencias
Fabricantehttps://github.com/vitejs/vite/security/advisories/GHSA-859w-5945-r5v3
Exploithttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-46565.yaml
Otrahttps://github.com/vitejs/vite/commit/c22c43de612eebb6c182dd67850c24e4fab8cacb

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.