{"id":"GHSA-f24x-5g9q-753f","summary":"OAuth2 Proxy's session cookies are not cleared when rendering sign-in page","details":"### Impact\nA regression introduced in [v7.11.0](https://github.com/oauth2-proxy/oauth2-proxy/pull/2605) is preventing OAuth2 Proxy from clearing the session cookie when rendering the sign-in page.\n\nThis only impacts deployments that rely on the sign-in page as part of their logout flow. In those setups, a user may be shown the sign-in page while the existing session cookie remains valid, so the browser session is not actually logged out. On shared workstations be it browsers or devices, a subsequent  user could continue to use the previous user's authenticated session.\n\nDeployments that use a dedicated logout/sign-out endpoint to terminate sessions are not affected.\n\n### Patches\nThis issue is fixed in v7.15.2.\n\n### Workarounds\nDo not rely on the sign-in page to clear an existing session. Instead:\n\n- Use the dedicated logout/sign-out endpoint of OAuth2 Proxy\n- Ensure your application logout flow explicitly clears the OAuth2 Proxy   session cookie before redirecting users to the sign-in page\n- If needed, clear the session cookie at the reverse proxy or application   layer as a temporary mitigation","aliases":["BIT-oauth2-proxy-2026-34454","CVE-2026-34454","GO-2026-5341"],"modified":"2026-06-25T19:56:22.202895909Z","published":"2026-04-14T22:31:03Z","database_specific":{"nvd_published_at":"2026-04-14T23:16:28Z","cwe_ids":["CWE-384","CWE-613"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2026-04-14T22:31:03Z"},"references":[{"type":"WEB","url":"https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-f24x-5g9q-753f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34454"},{"type":"WEB","url":"https://github.com/oauth2-proxy/oauth2-proxy/pull/2605"},{"type":"PACKAGE","url":"https://github.com/oauth2-proxy/oauth2-proxy"},{"type":"WEB","url":"https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.15.2"}],"affected":[{"package":{"name":"github.com/oauth2-proxy/oauth2-proxy/v7","ecosystem":"Go","purl":"pkg:golang/github.com/oauth2-proxy/oauth2-proxy/v7"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.11.0"},{"fixed":"7.15.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-f24x-5g9q-753f/GHSA-f24x-5g9q-753f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}