CVE-2026-77281

published 17 Sep 2026 · updated 18 Sep 2026

Caddy: rewrite placeholder re-expansion

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
caddyserver<2.11.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-77281 severity on Zeptric[![CVE-2026-77281](https://zeptric.io/badge/cve/CVE-2026-77281.svg)](https://zeptric.io/cve/CVE-2026-77281)