Vulnerability · Published Feb 24, 2026 · Assigned by GitHub_M
CVE-2026-27589Caddy vulnerable to cross-origin config application via local admin API /load (caddy)
Medium 6.9
In plain English
A medium-severity cross-site request forgery in caddy from caddyserver. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | caddy | 2.11.2-r0 | ALPINE-CVE-2026-27589 |
| Alpine:v3.24 | caddy | 2.11.1-r0 | ALPINE-CVE-2026-27589 |
| Debian:12 | caddy | 2.6.2-5+deb12u1 | DEBIAN-CVE-2026-27589 |
| Debian:13 | caddy | 2.6.2-12+deb13u1 | DEBIAN-CVE-2026-27589 |
| Debian:14 | caddy | 2.11.2-1 | DEBIAN-CVE-2026-27589 |
| Go | github.com/caddyserver/caddy/v2 | 2.11.1 | GO-2026-4537 |
| Go | github.com/caddyserver/caddy/v2 | 2.11.1 | GHSA-879p-475x-rqh2 |
| Ubuntu:25.10 | caddy | no fix listed | UBUNTU-CVE-2026-27589 |
| Ubuntu:26.10 | caddy | no fix listed | UBUNTU-CVE-2026-27589 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| caddyserver | caddy | < 2.11.1 |
Weakness: CWE-352 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
References
- https://github.com/caddyserver/caddy/security/advisories/GHSA-879p-475x-rqh2 x_refsource_CONFIRM
- https://github.com/caddyserver/caddy/releases/tag/v2.11.1 x_refsource_MISC
- https://github.com/user-attachments/files/25079818/poc.zip x_refsource_MISC
- https://github.com/user-attachments/files/25079820/PR_DESCRIPTION.md x_refsource_MISC