Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-52845: CWE-287: Improper Authentication in caddyserver caddy

0
High
VulnerabilityCVE-2026-52845cvecve-2026-52845cwe-287cwe-290cwe-444
Published: 06/23/2026 (06/23/2026, 17:52:01 UTC)
Source: CVE Database V5
Vendor/Project: caddyserver
Product: caddy

Description

CVE-2026-52845 is an improper authentication vulnerability in caddyserver caddy prior to version 2.11.4. The issue arises because the forward_auth copy_headers feature deletes client-supplied identity headers but does not account for underscore aliases that survive deletion and later normalize into the same PHP/FastCGI variables. This allows remote clients to inject or override trusted identity or group headers in PHP/FastCGI applications behind Caddy. The vulnerability is fixed in version 2.11.4.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
caddyserver/caddy
pkg:github/caddyserver/caddy
Affected versions
<2.11.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/23/2026, 18:24:21 UTC

Technical Analysis

CVE-2026-52845 affects caddyserver caddy versions before 2.11.4. The forward_auth copy_headers mechanism deletes the exact client-supplied identity header before copying trusted values from the authentication gateway. However, HTTP headers are normalized by replacing dashes with underscores when passed to PHP/FastCGI, allowing a client to send an underscore alias header that bypasses the deletion step. This results in the ability for a remote attacker to inject or override identity or group headers trusted by PHP/FastCGI applications behind Caddy, leading to improper authentication. The vulnerability is addressed and fixed in caddy version 2.11.4.

Potential Impact

An attacker with network access can remotely inject or override identity and group headers that PHP/FastCGI applications behind Caddy trust for authentication and authorization decisions. This can lead to unauthorized access or privilege escalation within affected applications. The CVSS 3.1 score is 8.1 (High), reflecting high confidentiality and integrity impact with no impact on availability.

Mitigation Recommendations

This vulnerability is fixed in caddyserver caddy version 2.11.4. Users should upgrade to version 2.11.4 or later to remediate this issue. No official patch or temporary workaround is indicated beyond upgrading. Patch status is not explicitly confirmed in the vendor advisory excerpt, but the description states the issue is fixed in 2.11.4, indicating an official fix is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-08T18:41:27.724Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3acbe4eed863c81e6c9a54

Added to database: 06/23/2026, 18:09:40 UTC

Last enriched: 06/23/2026, 18:24:21 UTC

Last updated: 06/23/2026, 18:29:09 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses