Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M
CVE-2026-45692Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization
Medium 5.4
In plain English
A medium-severity incorrect authorization in caddy from caddyserver. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | caddy | 2.11.4-r0 | ALPINE-CVE-2026-45692 |
| Alpine:v3.24 | caddy | 2.11.4-r0 | ALPINE-CVE-2026-45692 |
| Debian:12 | caddy | 2.6.2-5+deb12u1 | DEBIAN-CVE-2026-45692 |
| Debian:13 | caddy | 2.6.2-12+deb13u1 | DEBIAN-CVE-2026-45692 |
| Debian:14 | caddy | 2.11.4-1 | DEBIAN-CVE-2026-45692 |
| Go | github.com/caddyserver/caddy/v2 | 2.11.3 | GO-2026-5743 |
| Go | github.com/caddyserver/caddy/v2 | 2.11.3 | GHSA-x5w9-xh9r-mvfc |
| Ubuntu:25.10 | caddy | no fix listed | UBUNTU-CVE-2026-45692 |
| Ubuntu:26.10 | caddy | no fix listed | UBUNTU-CVE-2026-45692 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| caddyserver | caddy | >= 2.4.0, < 2.11.3 |
Weakness: CWE-187, CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/caddyserver/caddy/security/advisories/GHSA-x5w9-xh9r-mvfc x_refsource_CONFIRM