Skip to content

CVE-2026-45692 Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization

LowCVSS 3.8 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known

Description

Caddy is an extensible server platform that uses TLS by default. From 2.4.0 until 2.11.3, the authorization layer and the /config traversal layer do not agree on what object the path refers to. In this case, a path authorized for one config object is accepted, but then resolves to a different config object during traversal. This happens because the authorization layer uses string prefix matching and the /config traversal layer parses array indices numerically using strconv.Atoi(). This vulnerability is fixed in 2.11.3.

Affected products

ProductAffected versionsFixed in
caddyserver github.com/caddyserver/caddy = >= 2.4.0, < 2.11.3 No fix listed
caddyserver github.com/caddyserver/caddy(Go) >= 2.4.0, < 2.11.3 2.11.3
debian/caddy(Debian:12) < 2.6.2-5+deb12u1 2.6.2-5+deb12u1
debian/caddy(Debian:12) = 2.6.2-5 No fix listed
debian/caddy(Debian:13) < 2.6.2-12+deb13u1 2.6.2-12+deb13u1
debian/caddy(Debian:13) = 2.6.2-12 No fix listed
debian/caddy(Debian:14) < 2.11.4-1 2.11.4-1
debian/caddy(Debian:14) = 2.11.2-1 No fix listed
debian/caddy(Debian:14) = 2.11.2-1~bpo13+1 No fix listed
debian/caddy(Debian:14) = 2.6.2-12 No fix listed
debian/caddy(Debian:14) = 2.6.2-13 No fix listed
debian/caddy(Debian:14) = 2.6.2-14 No fix listed
alpine/caddy(Alpine:v3.23) >= 2.4.0, < 2.11.4-r0 2.11.4-r0
alpine/caddy(Alpine:v3.24) >= 2.4.0, < 2.11.4-r0 2.11.4-r0
ubuntu/caddy(Ubuntu:24.04) All versions No fix listed
ubuntu/caddy(Ubuntu:26.04) All versions No fix listed
ubuntu/caddy(Ubuntu:26.10) All versions No fix listed
caddyserver github.com/caddyserver/caddy >= 2.4.0, < 2.11.3 2.11.3

References