Caddy vulnerable to cross-origin config application via local admin API /load (caddy)
Description
Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, the local caddy admin API (default listen 127.0.0.1:2019) exposes a state-changing POST /load endpoint that replaces the entire running configuration. When origin enforcement is not enabled (enforce_origin not configured), the admin endpoint accepts cross-origin requests (e.g., from attacker-controlled web content in a victim browser) and applies an attacker-supplied JSON config. This can change the admin listener settings and alter HTTP server behavior without user intent. Version 2.11.1 contains a fix for the issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/caddyserver/caddy/v2Go | < 2.11.1 | 2.11.1 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/caddyserver/caddy/v2pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 2.11.1+ 1 more
- (no CPE)range: < 2.11.1
- (no CPE)range: < 0.0.20260226T182644-150000.1.149.1
- Range: < 2.11.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-879p-475x-rqh2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-27589ghsaADVISORY
- github.com/caddyserver/caddy/commit/65e0ddc22137bbbaa68c842ae0b98d0548504545ghsaWEB
- github.com/caddyserver/caddy/releases/tag/v2.11.1ghsax_refsource_MISCWEB
- github.com/caddyserver/caddy/security/advisories/GHSA-879p-475x-rqh2ghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2026-4537ghsaWEB
News mentions
0No linked articles in our index yet.