CVE-2026-34454
JSON

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 packageVersionsReported by
oauth2-proxy oauth2-proxy>= 7.11.0, < 7.15.2CVE List
github.com/oauth2-proxy/oauth2-proxy/v7 (Go)from 7.11.0 before 7.15.2GitHub Advisory Database, Go Vulnerability Database
github.com/oauth2-proxy/oauth2-proxy (Go)all versionsGo Vulnerability Database
oauth2_proxy_project oauth2_proxyfrom 7.11.0 before 7.15.2NVD
oauth2-proxy (Bitnami)from 7.11.0 before 7.15.2Bitnami Vulnerability Database

All scores

GitHub_M3.5low CVSS:3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub3.5low CVSS:3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-384CWE-613

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-34454 changed 2026-04-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-f24x-5g9q-753f changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5341 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-34454 changed 2026-07-24Public domain
Bitnami Vulnerability DatabaseBIT-OAUTH2-PROXY-2026-34454 changed 2026-09-08Apache-2.0