CVE-2026-45692
published medium CVSS 3.1 · 5.4Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| caddyserver | — | caddy>= 2.4.0, < 2.11.3 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | caddy | Fixed | 2.11.4-r0 | Package fix record |
| Debian | bookworm | caddy | Advisory build | 2.6.2-5+deb12u1 | DLA-4857-1 |
| Alpine Linux | v3.23 | caddy | Fixed | 2.11.4-r0 | Package fix record |
| Alpine Linux | v3.24 | caddy | Fixed | 2.11.4-r0 | Package fix record |
| Debian | trixie | caddy | Advisory build | 2.6.2-12+deb13u1 | DSA-6429-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| caddyserver | caddy | >= 2.4.0, < 2.11.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-187 CWE-187: Partial String Comparison
- CWE-863 CWE-863: Incorrect Authorization
References
1Provider assertions
2GitHub_M · cna
Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bb24b391f1a55aead5ac17d3bf4690063d26190f3a4a80aa93b80b2536bec432
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record