CVE-2018-21246Caddyserver Caddy
Critical 9.8 No auth needed
Follow: this CVE · Caddyserver · Caddyserver Caddy We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Jun 15, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Caddy before 0.10.13 mishandles TLS client authentication, as demonstrated by an authentication bypass caused by the lack of the StrictHostMatching mode.
What to do
- Apply the vendor's security update for Caddy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/caddyserver/caddy |
< 0.10.13 |
0.10.13 |
go get github.com/caddyserver/caddy@v0.10.13 |
| Go | github.com/mholt/caddy |
< 0.10.13 |
0.10.13 |
go get github.com/mholt/caddy@v0.10.13 |
Per OSV / GitHub Advisories (GHSA-gr7w-x2jp-3xgw, GO-2020-0043). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| caddyserver | caddy | < 0.10.3 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.gentoo.org Third Party Advisory
- github.com Release Notes Third Party Advisory