Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-52845

published high CVSS 3.1 · 8.1

Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`

Published
23 Jun 2026, 17:52:01 UTC
Updated
15 Jul 2026, 00:46:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
caddyserver — caddy< 2.11.4 Affected Not stated GitHub_M
Red Hat — caddyRed Hat Hardened Images Unaffected Not required redhat-SADP
Debian bookworm caddy Advisory build 2.6.2-5+deb12u1 DLA-4857-1
Debian trixie caddy Advisory build 2.6.2-12+deb13u1 DSA-6429-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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in Caddy, an extensible server platform. A remote attacker can exploit a vulnerability in the `forward_auth` `copy_headers` functionality. This occurs because Caddy normalizes HTTP headers into Common Gateway Interface (CGI) variables by replacing hyphens with underscores, allowing a client to send an underscore alias that bypasses the header deletion step. This enables the remote attacker to inject or override identity and group headers trusted by PHP/FastCGI applications operating behind Caddy.

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.1 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.1 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
caddyserver caddy < 2.11.4 (affected) GitHub_M · cna
Red Hat Red Hat Hardened Images Default: unaffected redhat-SADP · adp

Weaknesses

4
  • CWE-287 CWE-287: Improper Authentication (GitHub_M · cna)
  • CWE-290 CWE-290: Authentication Bypass by Spoofing (GitHub_M · cna)
  • CWE-444 CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (GitHub_M · cna)
  • CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (redhat-SADP · adp)

References

4

Provider assertions

3

GitHub_M · cna

Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`

redhat-SADP · adp

github.com/caddyserver/caddy: Caddy: Remote client can inject or override identity headers via header normalization

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
d2a977921edcf6aa7900e9a986e7eddc7221b9c893616fd0f264442a4f9836e3
Ingested
23 Sep 2026, 09:19:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected