Live threats

All CVEs / Caddyserver

CVE-2018-21246Caddyserver Caddy

Critical 9.8 No auth needed

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.

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 < 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)

VendorProductVersions
caddyservercaddy< 0.10.3

Official sources

References

Links published by the sources. Open them with care.