CVE-2026-25479Litestar
Media 6.5 Sin autenticación
Seguir: esta CVE · Litestar · Litestar Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 9 feb 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-185
- 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:L/A:N
Qué pasa
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.20.0, in litestar.middleware.allowed_hosts, allowlist entries are compiled into regex patterns in a way that allows regex metacharacters to retain special meaning (e.g., . matches any character). This enables a bypass where an attacker supplies a host that matches the regex but is not the intended literal hostname. This vulnerability is fixed in 2.20.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Litestar.
- 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 |
|---|---|---|---|---|
| PyPI | litestar |
≥ 2.19.0 < 2.20.0 |
2.20.0 |
pip install "litestar>=2.20.0" |
| PyPI | litestar |
< 2.20.0 |
2.20.0 |
pip install "litestar>=2.20.0" |
Según OSV / GitHub Advisories (GHSA-93ph-p7v4-hwh4, PYSEC-2026-2196). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| litestar | litestar | < 2.20.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- docs.litestar.dev Release Notes
- github.com Patch
- github.com Release Notes
- github.com Exploit Vendor Advisory