VulnarioBlogCaddy vulnerabilities

Caddy Vulnerabilities: The 10 Most Critical Caddy Security Bugs (CVEs)

Caddy vulnerabilities are security flaws in Caddy that attackers can abuse to steal data, take over a server or interrupt a service. Caddy is a web server written in Go that obtains and renews HTTPS certificates automatically. The National Vulnerability Database (NVD) lists 20 CVEs for Caddy, 5 of them rated critical, and 13 were published in the last 12 months. CISA lists 1 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.

This guide lists the 10 most critical Caddy security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Caddy security basics, the current end-of-life dates and a free way to be told about the next Caddy CVE as soon as it is published.

Key takeaways

  • 1 CVE is in CISA's KEV catalog, so attackers have exploited it in the wild.
  • 5 Caddy CVEs are rated critical (CVSS v3), and 13 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-45135, published Jun 23, 2026.
  • Supported Caddy releases today (per endoflife.date): 2. Releases not on the list are past their announced end of life.
  • You can monitor Caddy for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these Caddy CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical Caddy CVEs at a glance

Most critical Caddy vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2023-444877.5 High2023-10-10HTTP/2 Rapid Reset AttackYes
2CVE-2026-275909.8 Critical2026-02-24Improper input validationNo
3CVE-2018-212469.8 Critical2020-06-15Improper authenticationNo
4CVE-2026-275869.1 Critical2026-02-24Critical security flawNo
5CVE-2026-275879.1 Critical2026-02-24Critical security flawNo
6CVE-2026-275889.1 Critical2026-02-24Critical security flawNo
7CVE-2026-308518.8 High2026-03-07Improper authenticationNo
8CVE-2026-451358.1 High2026-06-23Improper input validationNo
9CVE-2026-528458.1 High2026-06-23Improper authenticationNo
10CVE-2026-528447.5 High2026-06-23Path traversalNo

Each Caddy CVE explained

1. CVE-2023-44487: HTTP/2 Rapid Reset Attack

  • CVSS 7.5 High
  • In CISA KEV (added 2023-10-10)
  • Published 2023-10-10
  • CWE-400
What NVD says
The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 2.7.5
What to do
Upgrade to 2.7.5 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-44487 (opens in a new tab)

2. CVE-2026-27590: Improper input validation

  • CVSS 9.8 Critical
  • Published 2026-02-24
  • CWE-20
What NVD says
Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's FastCGI path splitting logic computes the split index on a lowercased copy of the request path and then uses that byte index to slice the original path. This is unsafe for Unicode because `strings.ToLower()` can change UTF-8 byte length for some characters.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.11.1
What to do
Upgrade to 2.11.1 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-27590 (opens in a new tab)

3. CVE-2018-21246: Improper authentication

  • CVSS 9.8 Critical
  • Published 2020-06-15
  • CWE-287
What NVD says
Caddy before 0.10.13 mishandles TLS client authentication, as demonstrated by an authentication bypass caused by the lack of the StrictHostMatching mode.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 0.10.3
What to do
Upgrade to 0.10.3 or a later release, then restart the service.

NVD record for CVE-2018-21246 (opens in a new tab)

4. CVE-2026-27586: Critical security flaw

  • CVSS 9.1 Critical
  • Published 2026-02-24
  • CWE-755
What NVD says
Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, two swallowed errors in `ClientAuthentication.provision()` cause mTLS client certificate authentication to silently fail open when a CA certificate file is missing, unreadable, or malformed.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
Affected versions
before 2.11.1
What to do
Upgrade to 2.11.1 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-27586 (opens in a new tab)

5. CVE-2026-27587: Critical security flaw

  • CVSS 9.1 Critical
  • Published 2026-02-24
  • CWE-178
What NVD says
Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's HTTP `path` request matcher is intended to be case-insensitive, but when the match pattern contains percent-escape sequences (`%xx`) it compares against the request's escaped path without lowercasing.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
Affected versions
2.10.2 to before 2.11.1
What to do
Upgrade to 2.11.1 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-27587 (opens in a new tab)

6. CVE-2026-27588: Critical security flaw

  • CVSS 9.1 Critical
  • Published 2026-02-24
  • CWE-178
What NVD says
Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's HTTP `host` request matcher is documented as case-insensitive, but when configured with a large host list (>100 entries) it becomes case-sensitive due to an optimized matching path. An attacker can bypass host-based routing and any access controls attached to that route by changing the casing of the `Host` header.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
Affected versions
2.10.2 to before 2.11.1
What to do
Upgrade to 2.11.1 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-27588 (opens in a new tab)

7. CVE-2026-30851: Improper authentication

  • CVSS 8.8 High
  • Published 2026-03-07
  • CWE-287
What NVD says
Caddy is an extensible server platform that uses TLS by default. From version 2.10.0 to before version 2.11.2, forward_auth copy_headers does not strip client-supplied headers, allowing identity injection and privilege escalation. This issue has been patched in version 2.11.2.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.10.0 to before 2.11.2
What to do
Upgrade to 2.11.2 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-30851 (opens in a new tab)

8. CVE-2026-45135: Improper input validation

  • CVSS 8.1 High
  • Published 2026-06-23
  • CWE-20
What NVD says
Caddy is an extensible server platform that uses TLS by default. From 2.7.0 until 2.11.3, the FastCGI transport's splitPos() in modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go misuses golang.org/x/text/search with search.IgnoreCase when the request path contains a non-ASCII byte.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.7.0 to before 2.11.3
What to do
Upgrade to 2.11.3 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-45135 (opens in a new tab)

9. CVE-2026-52845: Improper authentication

  • CVSS 8.1 High
  • Published 2026-06-23
  • CWE-287
What NVD says
Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, forward_auth copy_headers deletes the exact client-supplied identity header before copying the trusted value from the auth gateway. But when the request later goes through php_fastcgi, Caddy normalizes HTTP headers into CGI variables by replacing - with _.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality and integrity.
Affected versions
before 2.11.4
What to do
Upgrade to 2.11.4 or a later release, then restart the service.

NVD record for CVE-2026-52845 (opens in a new tab)

10. CVE-2026-52844: Path traversal

  • CVSS 7.5 High
  • Published 2026-06-23
  • CWE-22
What NVD says
Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, on Windows, Caddy path matchers treat /private\secret.txt as outside /private/*, but file_server later resolves the same request path as private\secret.txt on disk. An unauthenticated remote client can bypass Caddy path-scoped auth/deny routes protecting /private/*. This vulnerability is fixed in 2.11.4.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
Affected versions
before 2.11.4
What to do
Upgrade to 2.11.4 or a later release, then restart the service.

NVD record for CVE-2026-52844 (opens in a new tab)

Caddy end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid Caddy vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Caddy releases are 2.

Caddy release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Caddy 2May 4, 2020Not announced2.11.7Supported
Caddy 1Apr 24, 2019Jul 1, 20201.0.5End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

How to check if your Caddy is vulnerable

Find the exact version first, then compare it with the affected and fixed versions in each CVE above.

caddy version

On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.

Caddy security checklist

  1. Apply security releases quickly: web servers sit on the internet and are scanned constantly.
  2. Hide version banners and default pages so scanners learn less about you.
  3. Allow only modern TLS (1.2 and 1.3) and renew certificates automatically.
  4. Run worker processes as an unprivileged user and keep sites in separate accounts or pools.
  5. Set sensible request size and timeout limits, and add rate limiting or a web application firewall.
  6. Block access to configuration files, backups and version-control folders.

Where you run Caddy matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating Caddy: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than Caddy. A flaw anywhere in the chain can be the way in, so also review our guides to Nginx vulnerabilities, Apache HTTP Server vulnerabilities and Go vulnerabilities.

How to get alerted about new Caddy vulnerabilities

NVD received 13 new Caddy CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Caddy and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run Caddy alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about Caddy vulnerabilities

What are the most critical Caddy vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Caddy CVEs include CVE-2023-44487 (CVSS 7.5), CVE-2026-27590 (CVSS 9.8), CVE-2018-21246 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have Caddy vulnerabilities been exploited in real attacks?

Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 1 Caddy CVE, including CVE-2023-44487. Treat these as the highest priority to patch.

How many vulnerabilities does Caddy have?

As of Nov 3, 2026 the National Vulnerability Database lists 20 CVEs for Caddy, with 5 rated critical by CVSS v3. 13 were published in the previous twelve months.

Which Caddy versions are still supported?

As of Nov 3, 2026, endoflife.date lists these Caddy releases as supported: 2. Releases that are not listed are past their announced end of life.

How do I check which Caddy version I run?

Run caddy version on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.

How can I get alerted when a new Caddy CVE is published?

Add Caddy to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Caddy and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is Caddy secure?

Caddy is as secure as its patch level. NVD published 13 new Caddy CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2023-44487?

CVE-2023-44487 is a high Caddy vulnerability with a CVSS score of 7.5, published Oct 10, 2023. The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.