# CVE-2026-27589: Caddy vulnerable to cross-origin config application via local admin API /load (caddy)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.29% (percentile 14, 2026-11-28)
- **CWE:** CWE-352
- **Aliases:** GHSA-879p-475x-rqh2, GO-2026-4537
- **Published:** 2026-02-24T16:30:52.016Z
- **Modified:** 2026-06-17T10:27:21.230Z

## Who should check

- Projects that depend on Go package github.com/caddyserver/caddy/v2 (\< 2.11.1)
- Anyone running caddyserver caddy \< 2.11.1

## 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 and fixed versions

- Go `github.com/caddyserver/caddy/v2`: affected \< 2.11.1; fixed 2.11.1 (osv)
- caddyserver caddy: \< 2.11.1 (cvelist)

## Mitigation

- Upgrade github.com/caddyserver/caddy/v2 to 2.11.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-27589. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-27589.md
Affected: github.com/caddyserver/caddy/v2 < 2.11.1
Fixed in: 2.11.1

Steps:
1. Search this machine and project for github.com/caddyserver/caddy/v2 (Go), caddyserver caddy: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-27589 being exploited?

There is no confirmed exploitation: CVE-2026-27589 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-27589?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-27589?

github.com/caddyserver/caddy/v2 \< 2.11.1.

### Is there a fix for CVE-2026-27589?

Yes. Fixed in 2.11.1. Upgrade github.com/caddyserver/caddy/v2 to 2.11.1 or later.

### How do I check if I'm affected by CVE-2026-27589?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/caddyserver/caddy/security/advisories/GHSA-879p-475x-rqh2>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-27589>
- patch: <https://github.com/caddyserver/caddy/commit/65e0ddc22137bbbaa68c842ae0b98d0548504545>
- exploit: <https://github.com/user-attachments/files/25079818/poc.zip>
- exploit: <https://github.com/user-attachments/files/25079820/PR_DESCRIPTION.md>
- other: <https://github.com/caddyserver/caddy/releases/tag/v2.11.1>
- other: <https://github.com/caddyserver/caddy>
- other: <https://pkg.go.dev/vuln/GO-2026-4537>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-27589>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-879p-475x-rqh2> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4537> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-27589> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-27589>
