Back to list

Caddy: Remote Admin Authorization Bypass on PKI Endpoints via Prefix-Based Path Matching — GHSA-GX7W-56W6-G48X

GitHub · GitHub · GHSA-GX7W-56W6-G48X

ID
GHSA-GX7W-56W6-G48X
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
4.3

Summary

## AI Disclosure I used an LLM to help review the source code, reason about attack surface, and help draft and refine this report. I manually validated the finding by reproducing it locally, confirming the vulnerable code path, and verifying the HTTP behavior with `curl -v`. ## Summary Caddy's remote admin access control performs path authorization using prefix matching: - [`admin.go`](/caddy/admin.go#L719):…

Product

go: github.com/caddyserver/caddy/v2

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories