Improper Authentication Affecting caddy package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.29% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-CADDY-17440200
  • published24 Jun 2026
  • disclosed23 Jun 2026

Introduced: 23 Jun 2026

CVE-2026-52845  (opens in a new tab)
CWE-287  (opens in a new tab)
CWE-290  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 caddy.

NVD Description

Note: Versions mentioned in the description apply only to the upstream caddy package and not the caddy package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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 Base Scores

version 3.1