CVE-2026-77281CWE-178CWE-770CWE-94denial-of-servicecode-injection

CVE-2026-77281

Medium · published September 18, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
41.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00491 · 41.3th percentile
Weaknesses
CWE-178 · Improper Handling of Case Sensitivity; CWE-770 · Allocation of Resources Without Limits or Throttling; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-09-18T01:17Z
References (4)
EPSS history
Timeline
  • 19 SEP 03:54Z
    EPSS moved — → 0%
    epss
  • 17 SEP 21:04Z
    Caddy: rewrite placeholder re-expansion
    cvelistv5