CVE-2026-46415
JasonLovesDoggo · caddy-defender
The Caddy Defender plugin for Caddy contains an access control vulnerability that allows attackers to bypass IP-based security restrictions.
Executive summary
An improper access control vulnerability in the Caddy Defender plugin allows remote, unauthenticated attackers to bypass security restrictions and potentially expose sensitive information.
Vulnerability
This vulnerability stems from improper access control (CWE-284) and the use of less trusted sources (CWE-348). It allows an unauthenticated attacker to manipulate or bypass intended IP-based request filtering, potentially gaining unauthorized access to protected resources.
Business impact
Successful exploitation could result in the bypass of critical security boundaries, leading to unauthorized access to web services and data exposure. Given the CVSS score of 8.2, the impact on business operations is high, as it invalidates the security logic intended to protect backend services from malicious or unauthorized traffic.
Remediation
Immediate Action: Update the caddy-defender middleware to version 0.10.1 or later to resolve the access control logic errors.
Proactive Monitoring: Audit Caddy access logs to identify requests originating from unauthorized IP addresses that were successfully processed by the middleware.
Compensating Controls: Implement additional layer seven security controls, such as a robust Web Application Firewall, to enforce access policies independently of the middleware.
Exploitation status
Public Exploit Available: No (unknown)
Analyst recommendation
Given the ease with which this vulnerability can be exploited by an unauthenticated attacker, immediate remediation is required. Administrators should verify their Caddy configuration after updating to ensure that access control rules are functioning as expected.