CVE-2026-77281

NameCVE-2026-77281
DescriptionCaddy 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
caddy (PTS)bookworm2.6.2-5vulnerable
trixie (security), trixie2.6.2-12+deb13u1vulnerable
forky, sid2.11.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
caddysource(unstable)2.11.4-1

Notes

https://github.com/caddyserver/caddy/security/advisories/GHSA-j8px-rmrx-76h9
https://github.com/caddyserver/caddy/pull/7761
Fixed by: https://github.com/caddyserver/caddy/commit/176b043b0104cee3f894023cd5a598ac29e404bb (v2.11.4)

Search for package or bug name: Reporting problems