CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

GHSA-w6p7-2fxx-4f44: Pocket ID: OIDC refresh token flow bypasses authorization revocation, account disabling, and group restrictions

highCVE-2026-43983
OIDC Refresh Token Flow Bypasses Authorization Revocation, Account Disabling, and Group Restrictions Summary The createTokenFromRefreshToken function (oidc_service.go:451) validates the refresh token's cryptographic integrity but does not re-validate the user's current authorization state before issuing new tokens. This allows three bypasses: 1. Authorization revocation bypass: After a user revokes an OIDC client's authorization, the client can continue refreshing tokens indefinitely because RevokeAuthorizedClient does not delete associated refresh tokens, and the refresh flow does not check if the authorization record still exists. 2. Disabled user bypass: After an admin disables a user account, pre-existing refresh tokens continue to work because the OIDC token endpoint does not check user.Disabled. Session-based access is properly blocked by auth middleware, but the OIDC refresh path bypasses it entirely. 3. Group restriction bypass: After removing a user from an OIDC client's allowed user groups, the refresh token continues to work because createTokenFromRefreshToken does not call IsUserGroupAllowedToAuthorize. Each refresh rotates the token with a fresh 30-day expiry, enabling perpetual access. Target - Repository: pocket-id/pocket-id - Version: HEAD (626adbf), also affects v2.5.0 and all versions with refresh token support Root Cause createTokenFromRefreshToken (oidc_service.go:451-547) performs the following checks on a refresh request: 1. Verify the signed refresh token JWT (line 457) -- checked 2. Verify client credentials (line 467) -- checked 3. Look up stored refresh token by hash, expiry, user_id, client_id (line 478-495) -- checked 4. Verify refresh token belongs to the requesting client (line 498) -- checked It does NOT check: - Whether a UserAuthorizedOidcClient record still exists for the user-client pair -- MISSING - Whether user.Disabled is false -- MISSING - Whether IsUserGroupAllowedToAuthorize passes for group-restricted clients --

Details

Source
GitHub Security Advisories (INTL · database · site)
Severity
high
Published
2026-07-28
Last updated
2026-07-28
Exploitation
Not in CISA KEV at last sync

Original advisory: https://github.com/advisories/GHSA-w6p7-2fxx-4f44

Exploitation outlook

EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.

Referenced CVEs

CVECSIRTS overviewExternal
CVE-2026-43983coverage & exploitation statusNVD · CVE.org

More from GitHub Security Advisories