Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-45692 EUVD-2026-38559GHSA-x5w9-xh9r-mvfcGO-2026-5743

Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization

Published Jun 23, 2026 · Updated Jun 26, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
caddyserver caddy >= 2.4.0, < 2.11.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 caddy 2.11.4-1 —
Debian 13 caddy 2.6.2-12+deb13u1 —
Debian 12 caddy 2.6.2-5+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 caddy No fix yet —
Ubuntu 25.10 caddy No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS caddy No fix yet —
Ubuntu Pro 24.04 LTS caddy No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
ReleasePackageFixed inAdvisory
Alpine v3.24 caddy 2.11.4-r0 —
Alpine v3.23 caddy 2.11.4-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/caddyserver/caddy/v2 >= 2.4.0, < 2.11.3 2.11.3 GHSA-x5w9-xh9r-mvfc

Advisories 1

References