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.
CVE-2026-46415
This high-severity CVE scores 8.2 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 94% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.2
- EG Score
- 8.2(medium)
- EG Risk
- 52(Track)EG Risk 52/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity82% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 5.7%
- KEV
- Not listed
Published
May 19, 2026
Last Modified
July 21, 2026
Advisory Details (4)
Auto-updated Jul 21, 2026Caddy Defender trusted proxy client IP bypass · Advisory · JasonLovesDoggo/caddy-defender · GitHub
https://github.com/JasonLovesDoggo/caddy-defender/security/advisories/GHSA-3h23-rrpc-3p87Fix trusted proxy client IP matching
Patch available: JasonLovesDoggo/caddy-defender v0.10.1 (PR #139 merged 2026-05-14)
https://github.com/JasonLovesDoggo/caddy-defender/pull/139Global options (Caddyfile) — Caddy Documentation
https://caddyserver.com/docs/caddyfile/options#trusted-proxiesRequest matchers (Caddyfile) — Caddy Documentation
https://caddyserver.com/docs/caddyfile/matchers#client-ipVendor Advisories for CVE-2026-46415(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pkg.jsn.cam/caddy-defender | — | 0.10.1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 3× in last 7d / 3× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 03:17 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-05-24 06:12 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-284
- CVE-2015-10057NVD 4.6EG 9.8MEDIUM
- CVE-2010-5305EG 9.8EPSS 92%CRITICAL
- CVE-2015-9209EG 9.8CRITICAL
- CVE-2015-9152EG 9.8CRITICAL
- CVE-2014-10059EG 9.8CRITICAL
- CVE-2014-10053EG 9.8CRITICAL
- CVE-2014-10050EG 9.8CRITICAL
- CVE-2015-0150EG 9.8CRITICAL
- CVE-2014-2048EG 9.8CRITICAL
- CVE-2013-0422EG 9.8 KEVEPSS 100%CRITICAL
Frequently asked(5)
What is CVE-2026-46415?
When was CVE-2026-46415 disclosed?
Is CVE-2026-46415 actively exploited?
What is the CVSS score of CVE-2026-46415?
How do I remediate CVE-2026-46415?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-46415
Is Your Infrastructure Affected by CVE-2026-46415?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.