Skip to content
OpenAdvisories
Medium · 6.3 CVE-2025-55162 EUVD-2025-26634

Envoy: oAuth2 Filter Signout route will not clear cookies because of missing "secure;" flag

Published Sep 3, 2025 · Updated Sep 4, 2025 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
envoyproxy envoy >= 1.35.0, < 1.35.1, >= 1.34.0, < 1.34.5, >= 1.33.0, < 1.33.7, <= 1.32.0, < 1.32.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 ecs-service-connect-agent v1.34.4.2-1.amzn2023 ALAS2023-2025-1357

Advisories 2

References