8.1

CVE-2026-52845: caddyserver caddy Improper Authentication

CVSS: 8.1v3.1HighModified
AliasesUBUNTU-CVE-2026-52845DEBIAN-CVE-2026-52845GHSA-f59h-q822-g45g
Published 23-06-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-52845 is a high (CVSS 8.1) Improper Authentication vulnerability in caddyserver caddy. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
42/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · +0.15 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 23-06-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

Description

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 _. This lets a client send an underscore alias that survives the forward_auth delete step but becomes the same PHP/FastCGI variable. Result: a remote client can inject or sometimes override identity/group headers trusted by PHP/FastCGI applications behind Caddy. This vulnerability is fixed in 2.11.4.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

37%

Versus all other CVEs

30-day change

+0.15 pp

From 0.29% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Caddy

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Caddyserver1 product
Debian1 product
  • caddyAll versions (No fix recorded) | < 2.6.2-12+deb13u1 | < 2.11.4-1
Github.com/caddyserver1 product
  • caddy≤ 1.0.5
Github.com/caddyserver/caddy1 product
  • v2< 2.11.4
Ubuntu1 product
  • caddyAll versions (No fix recorded)

5 vendors · 5 products

References

10 links