CVE-2026-46415
Last modified
CVE-2026-46415 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. The Caddy Defender plugin is a middleware for Caddy that allows users to block or manipulate requests based on the client's IP address. Prior to version 0.10.1, Caddy Defender used `r.RemoteAddr` when evaluating whether a request should be blocked. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
The Caddy Defender plugin is a middleware for Caddy that allows users to block or manipulate requests based on the client's IP address. Prior to version 0.10.1, Caddy Defender used `r.RemoteAddr` when evaluating whether a request should be blocked. `RemoteAddr` is the address of the immediate peer connected to Caddy. In deployments where Caddy is behind a trusted proxy, CDN, or load balancer, the immediate peer is usually the proxy, not the original client. Caddy resolves the original client address into its `client_ip` request variable after applying the configured `trusted_proxies` policy, but Defender did not use that value. As a result, clients from blocked IP ranges could bypass Defender when accessing Caddy through a trusted proxy whose own IP address was not blocked. This affects deployments that use Defender behind trusted proxies and expect it to enforce blocking based on the real client IP. The issue is fixed in version 0.10.1 by making Defender prefer Caddys resolved `client_ip` request variable when it is available. Defender falls back to `RemoteAddr` only when Caddy has not provided a resolved client IP. There is no complete workaround in affected Defender versions for deployments that rely on Caddy's trusted proxy client IP resolution. Until upgrading, affected users should enforce equivalent IP blocking at the trusted proxy, CDN, load balancer, firewall, or other edge layer before traffic reaches Caddy. Deployments where Caddy receives traffic directly from clients, without an intermediate trusted proxy, are not affected by this bypass.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| JasonLovesDoggo | caddy-defender | < 0.10.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-46415?
How severe is CVE-2026-46415?
How do I fix CVE-2026-46415?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-46409OpenYak is a local-first agent runtime for reliable tool-usi…9.6
- CVE-2026-46410FileBrowser Quantum is a free, self-hosted, web-based file m…8.7
- CVE-2026-46411FlashMQ is a MQTT broker/server, designed for multi-CPU envi…6.5
- CVE-2026-46412@beproduct/nestjs-auth is a NestJS authentication module for…10
- CVE-2026-46413Discourse is an open-source discussion platform. Prior to 20…6.5
- CVE-2026-46414Microsoft UFO open-source framework for intelligent automati…8.8
- CVE-2026-46416Microsoft UFO open-source framework for intelligent automati…6.3
- CVE-2026-46417Angular is a development platform for building mobile and de…6.1
- CVE-2026-46419Yubico webauthn-server-core (aka java-webauthn-server) 2.8.0…7.5
- CVE-2026-46420setup-php is a GitHub action to set up PHP with extensions, …5.6
- CVE-2026-46421The SAP Cloud Application Programming Model is a tool for bu…9.3
- CVE-2026-46423Rocket.Chat is an open-source, secure, fully customizable co…9.3
Are you affected by CVE-2026-46415?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
