{"id":"GHSA-f24x-5g9q-753f","revision":"91f8080542a34c5ca358ae4b268398c4","records":[{"revision":"91f8080542a34c5ca358ae4b268398c4","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-f24x-5g9q-753f","aliases":["BIT-oauth2-proxy-2026-34454","CVE-2026-34454","GO-2026-5341"],"title":"OAuth2 Proxy's session cookies are not cleared when rendering sign-in page","description":"### 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","state":0,"publishedAt":"2026-04-14T22:31:03+00:00","modifiedAt":"2026-06-25T19:56:06.1534051+00:00","affected":[{"ecosystem":"Go","name":"github.com/oauth2-proxy/oauth2-proxy/v7","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"7.11.0"},{"kind":"fixed","version":"7.15.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-f24x-5g9q-753f","https://nvd.nist.gov/vuln/detail/CVE-2026-34454","https://github.com/oauth2-proxy/oauth2-proxy/pull/2605","https://github.com/oauth2-proxy/oauth2-proxy","https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.15.2"],"sourceUrl":"https://github.com/advisories/GHSA-f24x-5g9q-753f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-f24x-5g9q-753f","identifiers":["GHSA-f24x-5g9q-753f","BIT-oauth2-proxy-2026-34454","CVE-2026-34454","GO-2026-5341"]},"retained":false,"historicalAffected":[]}],"coverage":[]}