3.5low
OAuth2 Proxy: Session cookie not cleared when rendering sign-in page
- Severity
- 3.5low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-f24x-5g9q-753fBIT-OAUTH2-PROXY-2026-34454GO-2026-5341
Description
OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. A regression introduced in 7.11.0 prevents OAuth2 Proxy from clearing the session cookie when rendering the sign-in page. In deployments that rely on the sign-in page as part of their logout flow, a user may be shown the sign-in page while the existing session cookie remains valid, meaning the browser session is not actually logged out. On shared workstations or devices, a subsequent user could continue to use the previous user's authenticated session. Deployments that use a dedicated logout/sign-out endpoint to terminate sessions are not affected. This issue is fixed in 7.15.2
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| oauth2-proxy oauth2-proxy | >= 7.11.0, < 7.15.2 | CVE List |
| github.com/oauth2-proxy/oauth2-proxy/v7 (Go) | from 7.11.0 before 7.15.2 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/oauth2-proxy/oauth2-proxy (Go) | all versions | Go Vulnerability Database |
| oauth2_proxy_project oauth2_proxy | from 7.11.0 before 7.15.2 | NVD |
| oauth2-proxy (Bitnami) | from 7.11.0 before 7.15.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 3.5low CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.5low CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Bitnami Vulnerability Database | low rating |
Classification
What each source says
CVE List
OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. A regression introduced in 7.11.0 prevents OAuth2 Proxy from clearing the session cookie when rendering the sign-in page. In deployments that rely on the sign-in page as part of their logout flow, a user may be shown the sign-in page while the existing session cookie remains valid, meaning the browser session is not actually logged out. On shared workstations or devices, a subsequent user could continue to use the previous user's authenticated session. Deployments that use a dedicated logout/sign-out endpoint to terminate sessions are not affected. This issue is fixed in 7.15.2
GitHub Advisory Database
Impact
A regression introduced in v7.11.0 is preventing OAuth2 Proxy from clearing the session cookie when rendering the sign-in page.
This 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.
Deployments that use a dedicated logout/sign-out endpoint to terminate sessions are not affected.
Patches
This issue is fixed in v7.15.2.
Workarounds
Do not rely on the sign-in page to clear an existing session. Instead:
- Use the dedicated logout/sign-out endpoint of OAuth2 Proxy
- Ensure your application logout flow explicitly clears the OAuth2 Proxy session cookie before redirecting users to the sign-in page
- If needed, clear the session cookie at the reverse proxy or application layer as a temporary mitigation
Go Vulnerability Database
OAuth2 Proxy's session cookies are not cleared when rendering sign-in page in github.com/oauth2-proxy/oauth2-proxy
NVD (es)
OAuth2 Proxy es un proxy inverso que proporciona autenticación utilizando proveedores OAuth2. Una regresión introducida en 7.11.0 impide que OAuth2 Proxy borre la cookie de sesión al renderizar la página de inicio de sesión. En implementaciones que dependen de la página de inicio de sesión como parte de su flujo de cierre de sesión, a un usuario se le puede mostrar la página de inicio de sesión mientras la cookie de sesión existente sigue siendo válida, lo que significa que la sesión del navegador no se cierra realmente. En estaciones de trabajo o dispositivos compartidos, un usuario posterior podría seguir utilizando la sesión autenticada del usuario anterior. Las implementaciones que utilizan un punto final de cierre de sesión/desconexión dedicado para terminar sesiones no se ven afectadas. Este problema está solucionado en 7.15.2.
References
| https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-f24x-5g9q-753f | advisory, article, release-notes, web | |
| https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.15.2 | advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-34454 | advisory, web | |
| https://github.com/oauth2-proxy/oauth2-proxy/pull/2605 | fix, web | |
| https://github.com/oauth2-proxy/oauth2-proxy | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34454 changed 2026-04-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f24x-5g9q-753f changed 2026-06-25 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5341 changed 2026-06-25 | CC-BY-4.0 |
| NVD | CVE-2026-34454 changed 2026-07-24 | Public domain |
| Bitnami Vulnerability Database | BIT-OAUTH2-PROXY-2026-34454 changed 2026-09-08 | Apache-2.0 |