cve.bz

CVE-2026-77281

6.5 mediumEPSS 0.5%

Medium (6.5). EPSS 0.5% chance of exploitation in the next 30 days. Fixed in github.com/caddyserver/caddy/v2 2.11.4.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
EPSS
0.5% chance of exploitation in the next 30 days; higher than 42% of CVEs (scores of 2026-10-31)
CWEs
CWE-94, CWE-178, CWE-770
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j8px-rmrx-76h9Gogithub.com/caddyserver/caddy/v2<2.11.42.11.4
GO-2026-6512Gogithub.com/caddyserver/caddy/v2<2.11.42.11.4

References

Check your stackJSON