CVE-2026-48049hapijs inert
Media 5.3 Sin autenticación
Seguir: esta CVE · hapijs · hapijs inert Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 17 jul 2026
- Actualizada
- 24 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Qué pasa
@hapi/inert provides static file and directory handlers for hapi.js. From 4.0.0 to 7.1.0, @hapi/inert serves static files from a directory configured with path in the directory or file handlers or relativeTo for h.file(), with confinement enforced by the confine option, but the confinement check compared the resolved absolute path against the confine directory using a raw string-prefix test, so a sibling directory such as /app/static-secret next to /app/static was incorrectly accepted and could allow an unauthenticated remote attacker to read files via /..%2fstatic-secret/secret.txt. This issue is fixed in version 7.1.1.
Qué hacer
- Aplica la actualización de seguridad del fabricante para inert.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | @hapi/inert |
≥ 4.0.0 < 7.1.1 |
7.1.1 |
npm install @hapi/inert@7.1.1 |
Según OSV / GitHub Advisories (GHSA-rcvq-m9j9-6f4g). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- hapijs · inert
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.