All vulnerabilities

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.

From caddyserver/caddy's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
CaddyServers and applications · github:caddyserver/caddy
  • Every version before 2.11.4
CaddyGo · osv:Go:github.com/caddyserver/caddy/v2
  • Every version before 2.11.4

About Caddy

open source web server

From Wikidata, CC0 1.0.
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

Release lines

ReleaseLatestSecurity fixes
22.11.9Yes
11.0.5Ended 1 Jul 2020

From endoflife.date.

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