envoyproxy/envoy

SPIFFE validator + "mtls_authenticated" do not support session resumption

Open

#42668 opened on Dec 17, 2025

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C++ (27,997 stars) (5,373 forks)batch import
area/tlsbughelp wanted

Description

On a resumed session, "peer certificate validated" is set to false since that bit is cert by the validator flow per connection. That means any policy using mtls_authenticated evaluates to false, and can be dangerous if used as a DENY policy. The workaround is to disable session resumption in TLS.

Contributor guide