CVE-2026-46415: Pkg.jsn.cam/caddy defender Caddy Defender Trusted Proxy Client Vulnerability
HIGHCVE-2026-46415 is a HIGH (CVSS 8.2) caddy defender trusted proxy client vulnerability (CWE-284: Improper Access Control) affecting Pkg.jsn.cam/caddy defender libraries in the Go ecosystem. The issue involves caddy defender trusted proxy client ip bypass. Remediation is available by upgrading affected packages to version 0.10.1.
CVE-2026-46415 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N).
How to Fix CVE-2026-46415
To remediate this vulnerability, upgrade all affected Pkg.jsn.cam/caddy defender dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade pkg.jsn.cam/caddy-defender to 0.10.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pkg.jsn.cam/caddy-defender
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-46415, inspect your project dependencies for Pkg.jsn.cam/caddy defender:
inspect dependencies for pkg.jsn.cam/caddy-defender
Analyze the terminal output to locate any version of Pkg.jsn.cam/caddy defender in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Pkg.jsn.cam/caddy defender, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-46415 Affected Pkg.jsn.cam/caddy defender Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pkg.jsn.cam/caddy-defender
|
Go |
< 0.10.1
|
0.10.1
|
References
Frequently Asked Questions
What is CVE-2026-46415?
Which Pkg.jsn.cam/caddy defender versions are affected?
What version fixes CVE-2026-46415?
Is pkg.jsn.cam/caddy-defender affected?
What is the CVSS score of CVE-2026-46415?
What CWE is associated with CVE-2026-46415?
How can I check Go dependencies for CVE-2026-46415?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3h23-rrpc-3p87",
"modified" : "2026-05-19T20:29:14Z",
"published" : "2026-05-19T20:29:14Z",
"aliases" : [ "CVE-2026-46415" ],
"summary" : "Caddy Defender trusted proxy client IP bypass",
"details" : "### Impact\n\nCaddy Defender used `r.RemoteAddr` when evaluating whether a request should be blocked. `RemoteAddr` is the address of the immediate peer connected to Caddy.\n\nIn 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.\n\nAs 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.\n\n### Patches\n\nThe issue is fixed 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.\n\nUsers should upgrade to `v0.10.1` or later.\n\n### Workarounds\n\nThere is no complete workaround in affected Defender versions for deployments that rely on Caddys trusted proxy client IP resolution.\n\nUntil upgrading, affected users should enforce equivalent IP blocking at the trusted proxy, CDN, load balancer, firewall, or other edge layer before traffic reaches Caddy.\n\nDeployments where Caddy receives traffic directly from clients, without an intermediate trusted proxy, are not affected by this bypass.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "pkg.jsn.cam/caddy-defender"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/JasonLovesDoggo/caddy-defender/security/advisories/GHSA-3h23-rrpc-3p87"
}, {
"type" : "WEB",
"url" : "https://github.com/JasonLovesDoggo/caddy-defender/pull/139"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/JasonLovesDoggo/caddy-defender"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284", "CWE-348" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-19T20:29:14Z",
"nvd_published_at" : null
}
}