CVE-2025-55162: Envoy: oAuth2 Filter Signout route will not clear cookies because of missing "secure;" flag
Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures. In versions below 1.32.10 and 1.33.0 through 1.33.6, 1.34.0 through 1.34.4 and 1.35.0, insufficient Session Expiration in the Envoy OAuth2 filter leads to failed logout operations. When configured with __Secure- or __Host- prefixed cookie names, the filter fails to append the required Secure attribute to the Set-Cookie header during deletion. Modern browsers ignore this invalid request, causing the session cookie to persist. This allows a user to remain logged in after they believe they have logged out, creating a session hijacking risk on shared computers. The current implementation iterates through the configured cookie names to generate deletion headers but does not check for these prefixes. This failure to properly construct the deletion header means the user's session cookies are never removed by the browser, leaving the session active and allowing the next user of the same browser to gain unauthorized access to the original user's account and data. This is fixed in versions 1.32.10, 1.33.7, 1.34.5 and 1.35.1.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-55162?
CVE-2025-55162 has a medium severity due to insufficient session expiration in the Envoy OAuth2 filter impacting logout functionality.
How do I fix CVE-2025-55162?
To fix CVE-2025-55162, update Envoy to version 1.35.1 or later to address the session expiration issue.
What versions of Envoy are affected by CVE-2025-55162?
Versions of Envoy affected by CVE-2025-55162 are those below 1.32.10, 1.33.0 through 1.33.6, and 1.34.0 through 1.34.4.
What is the impact of CVE-2025-55162 on users?
The impact of CVE-2025-55162 is that users may experience failed logout operations due to inadequate session expiration.
Is there a workaround for CVE-2025-55162 if I cannot upgrade Envoy?
A specific workaround for CVE-2025-55162 is not provided, so upgrading to a patched version is recommended.