CVE-2026-77281

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGithub.com/caddyserver/caddy/v2
PublishedSep 17, 2026
First seenSep 17, 2026

How to fix

Update
  • github.com/caddyserver/caddy/v22.11.4 or later

Affected products

ProductAffected versionsFixed in
github.com/caddyserver/caddy/v2Gov < 2.11.42.11.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-77281 · Github.com/caddyserver/caddy/v2 · Dark Radar