Cloudanix VulnDB

GHSA-gx7w-56w6-g48x

Medium · 4.3

Caddy: Remote Admin Authorization Bypass on PKI Endpoints via Prefix-Based Path Matching

CVSS

4.3

EPSS

—

Published

May 19, 2026

CISA due date

—

The record

Caddy's remote admin access control performs path authorization using prefix matching: - [`admin.go`](/caddy/admin.go#L719): `strings.HasPrefix(r.URL.Path, allowedPath)` This allows a client certificate authorized only for `/pki/ca/prod` to access sibling PKI resources whose paths merely share the same prefix, such as `/pki/ca/prod-backup`. This is an authorization bug in Caddy's source code, not a misconfiguration issue. The configured policy is more restrictive than the behavior that Caddy actually enforces.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities