Improper handling of exceptional conditions in Caddy - CVE-2026-27586
Published: April 27, 2026
Caddy
Detailed vulnerability description
The vulnerability allows a remote attacker to bypass mTLS client certificate authentication.
The vulnerability exists due to improper exception handling in ClientAuthentication.provision() in modules/caddytls/connpolicy.go when processing configured CA certificate files. A remote attacker can present a client certificate signed by an unintended trusted CA to bypass mTLS client certificate authentication.
The issue occurs when the configured CA certificate file is missing, unreadable, or malformed, causing the server to start without error and fall back to the system root pool instead of the intended private CA trust boundary.