Go · Servers and applications
CVE-2026-77281
Vulnerabilities in handler/placeholder layer in github.com/caddyserver/caddy
- Severity
- Medium 6.5
- Published
- 10 Jul 2026
- Last changed
- 3 Oct 2026
- Added to UpHeron
- 22 Oct 2026
- Fixed in
- 2.11.4
- Exploit chance
- 0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Case-sensitivity mistakes (CWE-178)Allocation without limits (CWE-770)Code injection (CWE-94)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read some data · Slow it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L- Also known as
- CVE-2026-92284, CVE-2026-92700, GHSA-j8px-rmrx-76h9, GO-2026-6512
- Sources
- OSV.dev and GitHub, Project advisories (GitHub)
Description
Tested against: caddy:2.11.3 (official Docker image, SHA verified at runtime) Reproduction environment: Docker Desktop 4.73.1 / Engine 29.4.3 on Windows 10 host, isolated containers, no network egress required for any of the exploits
This advisory bundles three independent issues discovered together during a source review of the placeholder/replacer layer. Each issue has been reproduced end-to-end against the unmodified caddy:2.11.3 image with the minimal Caddyfile that the documentation suggests for the affected feature.
When the operator's rewrite URI template:
- Contains a placeholder that resolves to request data (e.g. {http.request.header.X-Foo}), AND
- Ends with a literal ? (with empty query side)
…then the bytes produced by the first Replacer pass (which include attacker-controlled header values) are fed through buildQueryString, which runs a second Replacer pass and resolves any placeholders the attacker injected.
Affected software
| Software | Affected versions |
|---|---|
CaddyServers and applications · github:caddyserver/caddy |
|
CaddyGo · osv:Go:github.com/caddyserver/caddy/v2 |
|
About Caddy
open source web server
- Share of websites with a known web server
- 1.3%W3Techs, Nov 2026
- Docker Hub pulls
- 770,668,265Docker Hub, 15 Nov 2026
- GitHub stars
- 79,049GitHub, 15 Nov 2026
- Forks
- 5,264GitHub, 15 Nov 2026
- Latest release
- v2.11.9GitHub, 15 Nov 2026
- Released
- 5 Nov 2026GitHub
- License
- Apache Software License 2.0Wikidata
- Written in
- GoWikidata
- First published on GitHub
- 13 Jan 2015GitHub
Website Source code Docker image
Vulnerabilities in Caddy
- In our list
- 30
- Published in the last 12 months
- 23
- Critical, last 12 months
- 0
- High, last 12 months
- 9
- Known exploited
- 1
- GHSA-f278-mgc7-46j3php_fastcgi authorization bypass via dot-segments in the request pathMedium 5.9 4 Nov 2026
- GHSA-jf74-f69g-hcj9file_server exposes private keys when the data directory falls back to ./caddyMedium 4 Nov 2026
- GHSA-69hv-5jfc-mvmvrewrite re-decodes {http.matchers.file.remainder}, bypassing path-based deny rulesMedium 4 Nov 2026
- GHSA-25cw-38mq-q7m6file matcher resolves /file/./ to a regular file, bypassing suffix path rulesMedium 4 Nov 2026
- GHSA-r766-rf9f-588hHost and :authority values with dot segments or slashes escape a {host}-based rootHigh 4 Nov 2026
- CVE-2026-55458Caddy has an RFC 7230 §6.1 compliance issue / Hop-by-hop headers that leak throughLow 2.9 13 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-77281
- GitHub Advisory Database https://github.com/advisories/GHSA-j8px-rmrx-76h9
- OSV.dev https://osv.dev/vulnerability/GO-2026-6512
- github.com https://github.com/caddyserver/caddy/security/advisories/GHSA-j8px-rmrx-76h9