BreachSpiderVerified, not vibes

CVE-2026-52845 in Caddyserver Caddy

High 8.1

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 b...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.1
EPSS0.4%
EPSS percentile31th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Caddyserver Caddy < 2.11.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-52845
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published2026-06-23
Last modified2026-10-25
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-287: Improper Authentication

Software does not prove or insufficiently proves that the user is who they claim to be.

CWE-290: CWE-290

CWE-444: CWE-444

Related attack patterns (CAPEC)

CAPEC-33 HTTP Request Smuggling via CWE-444

CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-287

CAPEC-59 Session Credential Falsification through Prediction via CWE-290

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-290

CAPEC-273 HTTP Response Smuggling via CWE-444

Show all 20

CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-290

CAPEC-476 Signature Spoofing by Misrepresentation via CWE-290

CAPEC-633 Token Impersonation via CWE-287

CAPEC-650 Upload a Web Shell to a Web Server via CWE-287

CAPEC-667 Bluetooth Impersonation AttackS (BIAS) via CWE-290

CAPEC-194 Fake the Source of Data via CWE-287

CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness via CWE-290

CAPEC-473 Signature Spoof via CWE-290

CAPEC-593 Session Hijacking via CWE-287

CAPEC-21 Exploitation of Trusted Identifiers via CWE-290

CAPEC-22 Exploiting Trust in Client via CWE-287, CWE-290

CAPEC-94 Adversary in the Middle (AiTM) via CWE-287, CWE-290

CAPEC-114 Authentication Abuse via CWE-287

CAPEC-115 Authentication Bypass via CWE-287

CAPEC-151 Identity Spoofing via CWE-287

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A high severity vulnerability (CVE-2026-52845) affects the target system. 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 thro...

Questions

What is CVE-2026-52845?

A high severity vulnerability (CVE-2026-52845) affects the target system. 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 thro...

What is the CVSS score for CVE-2026-52845?

CVE-2026-52845 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.4%.

Is CVE-2026-52845 actively exploited?

No confirmed active exploitation of CVE-2026-52845 as of 2026-11-03.

How do I remediate CVE-2026-52845?

Apply vendor patches for CVE-2026-52845. Monitor Caddyserver advisories.

What systems are affected by CVE-2026-52845?

CVE-2026-52845 affects Caddyserver Caddy.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Caddyserver","product":"Caddy","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-25.