CVE-2026-45692: CWE-187: Partial String Comparison in caddyserver caddy
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.
AI Analysis
Technical Summary
CVE-2026-45692 affects caddyserver caddy versions >=2.4.0 and <2.11.3. The vulnerability is due to a mismatch between the authorization layer and the /config traversal layer in how they interpret paths. The authorization layer uses string prefix matching, whereas the traversal layer parses array indices numerically using strconv.Atoi(). This discrepancy allows a path authorized for one config object to be accepted but then resolves to a different config object during traversal, potentially leading to unauthorized access. The issue is classified under CWE-187 (Partial Comparison) and CWE-863 (Incorrect Authorization). The vulnerability has a CVSS 3.1 base score of 5.4 (medium severity) with network attack vector, low attack complexity, requiring privileges, no user interaction, unchanged scope, and low confidentiality and integrity impacts. The vulnerability is fixed in version 2.11.3.
Potential Impact
The vulnerability can cause unauthorized access to configuration objects by exploiting the mismatch in path interpretation between the authorization and traversal layers. This may lead to partial confidentiality and integrity impacts on the server configuration. There is no indication of availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade caddyserver caddy to version 2.11.3 or later, where this vulnerability is fixed. Patch status is confirmed by the description stating the fix is in 2.11.3. No other mitigation or temporary workaround is indicated.
CVE-2026-45692: CWE-187: Partial String Comparison in caddyserver caddy
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 v3.1
Score 5.4medium
Affected software
pkg:github/caddyserver/caddyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-45692 affects caddyserver caddy versions >=2.4.0 and <2.11.3. The vulnerability is due to a mismatch between the authorization layer and the /config traversal layer in how they interpret paths. The authorization layer uses string prefix matching, whereas the traversal layer parses array indices numerically using strconv.Atoi(). This discrepancy allows a path authorized for one config object to be accepted but then resolves to a different config object during traversal, potentially leading to unauthorized access. The issue is classified under CWE-187 (Partial Comparison) and CWE-863 (Incorrect Authorization). The vulnerability has a CVSS 3.1 base score of 5.4 (medium severity) with network attack vector, low attack complexity, requiring privileges, no user interaction, unchanged scope, and low confidentiality and integrity impacts. The vulnerability is fixed in version 2.11.3.
Potential Impact
The vulnerability can cause unauthorized access to configuration objects by exploiting the mismatch in path interpretation between the authorization and traversal layers. This may lead to partial confidentiality and integrity impacts on the server configuration. There is no indication of availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade caddyserver caddy to version 2.11.3 or later, where this vulnerability is fixed. Patch status is confirmed by the description stating the fix is in 2.11.3. No other mitigation or temporary workaround is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T04:38:01.164Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3acbe4eed863c81e6c9a4e
Added to database: 06/23/2026, 18:09:40 UTC
Last enriched: 06/30/2026, 22:58:36 UTC
Last updated: 08/04/2026, 12:46:13 UTC
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.