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
| Product | Affected versions | Fixed 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
- https://github.com/caddyserver/caddy/security/advisories/GHSA-x5w9-xh9r-mvfc exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2491901 issue-tracking
- www.cve.org
- github.com
- Debian Security Tracker CVE-2026-45692 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking