CVE-2026-30852Caddyserver Caddy
Media 5.5 Sin autenticación
Seguir: esta CVE · Caddyserver · Caddyserver Caddy Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 48
- CVSS 4.0
- 5.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 7 mar 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/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
Caddy is an extensible server platform that uses TLS by default. From version 2.7.5 to before version 2.11.2, the vars_regexp matcher in vars.go:337 double-expands user-controlled input through the Caddy replacer. When vars_regexp matches against a placeholder like {http.request.header.X-Input}, the header value gets resolved once (expected), then passed through repl.ReplaceAll() again (the bug). This means an attacker can put {env.DATABASE_URL} or {file./etc/passwd} in a request header and the server will evaluate it, leaking environment variables, file contents, and system info. This issue has been patched in version 2.11.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Caddy.
- 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 |
|---|---|---|---|---|
| Go | github.com/caddyserver/caddy/v2 |
≥ 2.7.5 < 2.11.2 |
2.11.2 |
go get github.com/caddyserver/caddy/v2@v2.11.2 |
| Go | github.com/caddyserver/caddy/v2/modules/caddyhttp |
≥ 2.7.5 < 2.11.2 |
2.11.2 |
go get github.com/caddyserver/caddy/v2/modules/caddyhttp@v2.11.2 |
Según OSV / GitHub Advisories (GO-2026-4644, GHSA-m2w3-8f23-hxxf). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| caddyserver | caddy | ≥ 2.7.5 < 2.11.2 |
Boletines oficiales
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · 30 jul 2026 Crítica
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:1042-1 · 25 mar 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Issue Tracking Patch
- github.com Product Release Notes
- github.com Exploit Mitigation Vendor Advisory