All reports
Medium

UBUNTU-CVE-2026-77281

Affected versions

Affected versions
* || =2.6.2-6 || =2.6.2-6ubuntu0.24.04.1 || =2.6.2-6ubuntu0.24.04.2 || =2.6.2-6ubuntu0.24.04.2+esm1 || =2.6.2-6ubuntu0.24.04.3 || =2.6.2-6ubuntu0.24.04.3+esm1 || =2.6.2-6ubuntu0.24.04.3+esm2
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

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.

Links