PT-2026-41964 · Caddy · Caddy

·

CVE-2026-45692

·

Published

2026-05-19

·

Updated

2026-07-30

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Caddy versions 2.4.0 through 2.11.2
Description An authorization-to-object mismatch exists in the remote admin functionality. The authorization layer uses string prefix matching, while the /config traversal layer parses array indices numerically using the strconv.Atoi() function. This discrepancy allows a remote admin client restricted to a specific path, such as /config/apps/http/servers/srv/routes/0, to access and modify a different array element by using a leading-zero index, such as /config/apps/http/servers/srv/routes/01. In this scenario, the authorization layer accepts the request because it matches the prefix, but the traversal layer resolves the index 01 to numeric index 1, granting unauthorized access to a different configuration object.
Recommendations Update to version 2.11.3. As a temporary workaround, restrict the use of the /config API paths containing numeric array indices for remote admin clients until the update is applied.

Exploit

Fix

Incorrect Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-45692
GHSA-X5W9-XH9R-MVFC
GO-2026-5743
OPENSUSE-SU-2026:21483-1

Affected Products

Caddy