RCE in Caddyserver Caddy
CVE-2026-77281
Caddy is an extensible server platform that uses TLS by default. In version 2.11.3 and earlier, three configuration-dependent weaknesses affect the handler and placeholder layer. In modules/caddyhttp/rewrite/rewrite.go, Rewrite.Rewrite() can pass attacker-controlled replacement bytes through buildQueryString for a second placeholder expansion when a rewrite URI ends with a literal question mark, allowing injected environment or request-variable placeholders to disclose data and, when the file provider is registered, allowing injected file placeholders to disclose readable files. The issue is fixed in version 2.11.4.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
EPSS exploit prediction
EPSS: 0.005 (42.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 42.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Caddyserver Caddy — versions < 2.11.4
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-77281?
- CVE-2026-77281 is a medium-severity vulnerability in Caddyserver Caddy, classified under Code Injection. CVSS score: 6.5/10. Published 2026-09-17.
- How severe is CVE-2026-77281?
- Medium severity. CVSS v3 base score is 6.5 out of 10.