Live threats

All CVEs / caddyserver

CVE-2026-77281caddyserver caddy

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Sep 17, 2026
Updated
Sep 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-178, CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for caddy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/caddyserver/caddy/v2 < 2.11.4 2.11.4 go get github.com/caddyserver/caddy/v2@v2.11.4
Go github.com/caddyserver/caddy/v2 < 2.11.4 2.11.4 go get github.com/caddyserver/caddy/v2@v2.11.4

Per OSV / GitHub Advisories (GHSA-j8px-rmrx-76h9, GO-2026-6512). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.