Vulnerabilities

CVE-2026-52845

High 8.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-06-23
Last modified
2026-10-25
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Scored by
security-advisories@github.com
Probability of exploitation
0.3 % higher than 22 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Caddyserver Caddy < 2.11.4 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1036.001: Invalid Code Signature stealth
  • T1040: Network Sniffing credential-access, discovery
  • T1134: Access Token Manipulation stealth, privilege-escalation
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1185: Browser Session Hijacking collection
  • T1505.003: Web Shell persistence
  • T1528: Steal Application Access Token credential-access
  • T1539: Steal Web Session Cookie credential-access
  • T1548: Abuse Elevation Control Mechanism privilege-escalation
  • T1550.001: Application Access Token lateral-movement
  • T1550.004: Web Session Cookie lateral-movement
  • T1553.002: Code Signing defense-impairment
  • T1557: Adversary-in-the-Middle credential-access, collection
  • T1563: Remote Service Session Hijacking lateral-movement

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities