CVE-2026-77281
published medium CVSS 3.1 · 6.5Caddy: rewrite placeholder re-expansion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| caddyserver | — | caddy< 2.11.4 | Affected | Not stated | GitHub_M |
| Debian | bookworm | caddy | Advisory build | 2.6.2-5+deb12u1 | DLA-4857-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| caddyserver | caddy | < 2.11.4 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-178 CWE-178: Improper Handling of Case Sensitivity
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
4Provider assertions
2GitHub_M · cna
Caddy: rewrite placeholder re-expansion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ed098ae976a7a8a014b1ebf4643bb497f27234bd445534a253b4233a87ac8c8d
- Ingested
- 23 Sep 2026, 09:32:39 UTC
- Source record
- Official CVE record