CVE-2026-77281

MEDIUM CVSS 3.1: 6.5 EPSS 0.36%
Updated Sep 18, 2026
Caddy
Parameter Value
CVSS 6.5 (MEDIUM)
Fixed In 2.11.4
Type CWE-178, CWE-94 (Code Injection), CWE-770 (Allocation Without Limits)
Vendor Caddy
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v3.1