CVE-2026-45692: Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization
Vulnerability summary
CVE-2026-45692 is a medium (CVSS 5.4) Partial String Comparison vulnerability in caddyserver caddy. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.1% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 2Timeline
- 23-06-2026PublishedVulnerability first disclosed.
- 26-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated3.8LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · DebianEcosystem advisory · calculated3.8LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · GoEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- NVDNIST3.8LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated3.8LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
Decrease -0.07 pp
From 0.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundCaddy
Maturity: poc
Weaknesses
CWE · root cause- CWE-187Partial String ComparisonThe product performs a string comparison that only examines a portion of the string before determining whether there is a match.
- CWE-863Incorrect AuthorizationThe product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- caddy≥ 2.4.0, < 2.11.4-r0
Caddyserver1 product
- caddy≥ 2.4.0, < 2.11.3
Debian1 product
- caddyAll versions (No fix recorded) | < 2.6.2-5+deb12u1 | < 2.6.2-12+deb13u1 | < 2.11.4-1
Github.com/caddyserver/caddy1 product
- v2≥ 2.4.0, < 2.11.3
Ubuntu1 product
- caddyAll versions (No fix recorded) | < 2.6.2-6ubuntu0.24.04.3+esm3 | < 2.6.2-14ubuntu0.26.04.1~esm2
5 vendors · 5 products
References
8 links- github.com/caddyserver/caddy/security/advisories/GHSA-x5w9-xh9r-mvfcX Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/caddyserver/caddyPACKAGE