GHSA-f24x-5g9q-753f

Suggest an improvement
Source
https://github.com/advisories/GHSA-f24x-5g9q-753f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-f24x-5g9q-753f/GHSA-f24x-5g9q-753f.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-f24x-5g9q-753f
Aliases
Downstream
MINI (2)
Published
2026-04-14T22:31:03Z
Modified
2026-06-25T19:56:22Z
Severity
  • 3.5 (Low) CVSS_V3 - CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
OAuth2 Proxy's session cookies are not cleared when rendering sign-in page
Details

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
Database specific
{
    "cwe_ids": [
        "CWE-384",
        "CWE-613"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-14T22:31:03Z",
    "nvd_published_at": "2026-04-14T23:16:28Z",
    "severity": "LOW"
}
References

Affected packages

Go / github.com/oauth2-proxy/oauth2-proxy/v7

Package

Name
github.com/oauth2-proxy/oauth2-proxy/v7
View open source insights on deps.dev
Purl
pkg:golang/github.com/oauth2-proxy/oauth2-proxy/v7

Affected 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"