Medium severity6.5NVD Advisory· Published Sep 17, 2026· Updated Sep 24, 2026
CVE-2026-77281
CVE-2026-77281
Description
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/caddyserver/caddy/v2Go | < 2.11.4 | 2.11.4 |
Affected products
1- Range: <=2.11.3
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-j8px-rmrx-76h9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-77281ghsaADVISORY
- github.com/caddyserver/caddy/commit/176b043b0104cee3f894023cd5a598ac29e404bbnvdWEB
- github.com/caddyserver/caddy/pull/7761nvdWEB
- github.com/caddyserver/caddy/releases/tag/v2.11.4nvdWEB
- github.com/caddyserver/caddy/security/advisories/GHSA-j8px-rmrx-76h9nvdWEB
News mentions
0No linked articles in our index yet.