Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-27589 EUVD-2026-8543GHSA-879p-475x-rqh2GO-2026-4537

Caddy vulnerable to cross-origin config application via local admin API /load (caddy)

Published Feb 24, 2026 · Updated Feb 27, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
caddyserver caddy < 2.11.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 caddy 2.11.2-1 —
Debian 13 caddy 2.6.2-12+deb13u1 —
Debian 12 caddy 2.6.2-5+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 caddy No fix yet —
Ubuntu 25.10 caddy No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS caddy No fix yet —
Ubuntu Pro 24.04 LTS caddy No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260226T182644-150000.1.149.1 SUSE-SU-2026:0757-1
ReleasePackageFixed inAdvisory
Alpine v3.24 caddy 2.11.1-r0 —
Alpine v3.23 caddy 2.11.2-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/caddyserver/caddy/v2 < 2.11.1 2.11.1 GHSA-879p-475x-rqh2

Advisories 2

References