llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · vite

GHSA-8G5G-MXQH-GRGJ

Vite: `server.fs.deny` bypassed with queries

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -8 d de la divulgación
Exposición22 dDesde la divulgación, 29 oct 2026, 11:39 a. m.
Detección18 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 6.4.5
Monitoreo
Detectada
21 oct 26
29 oct 26
17 nov 26
21 nov 26
21 oct 26
29 oct 26
5 nov 26
13 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 6.4.5 vite · -8 d desde divulgación
Divulgación Publicada GHSA-8G5G-MXQH-GRGJ divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

The contents of files that are specified by `server.fs.deny` https://vite.dev/config/server-options#server-fs-deny can be returned to the browser. This is the same as https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r.

Impact

Only apps that match the following conditions are affected:

  • explicitly exposes the Vite dev server to the network (using `--host` or `server.host` config option https://vitejs.dev/config/server-options.html#server-host)
  • the sensitive file exists in the allowed directories specified by `server.fs.allow` https://vite.dev/config/server-options#server-fs-allow
  • the sensitive file is denied with a pattern that matches a file by `server.fs.deny` https://vite.dev/config/server-options#server-fs-deny
Details

On the Vite dev server, files that should be blocked by `server.fs.deny` (e.g., `.env`, `*.crt`) can be retrieved with HTTP 200 responses when query parameters such as `?raw`, `?import&raw`, or `?import&url&inline` are appended.

For the fix for https://github.com/vitejs/vite/security/advisories/GHSA-rq7h-c2jc-7f22, v6.4.4 back-ported https://github.com/vitejs/vite/pull/20410. But while that PR requires https://github.com/vitejs/vite/pull/22160 for https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r, https://github.com/vitejs/vite/pull/22160 wasn't back-ported together causing v6 vulnerable to https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r.

Versiones

Rangos afectados

Afectada Corregida Última
vite≥ 6.4.4 < 6.4.5
6.4.4
6.4.5
8.3.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmvite
Corregida 6.4.5 -8 d 8.3.8 no afectada
Versiones corregidas6.4.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-118662
Otrahttps://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj
Otrahttps://github.com/vitejs/vite/pull/22160
Otrahttps://github.com/vitejs/vite/pull/23855
Otrahttps://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e
Otrahttps://github.com/vitejs/vite
Otrahttps://github.com/vitejs/vite/releases/tag/v6.4.5

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