Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/pocket-id/pocket-id/backend
  4. ›
  5. CVE-2026-43983

CVE-2026-43983: Pocket ID: OIDC refresh token flow bypasses authorization revocation, account disabling, and group restrictions

July 28, 2026

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.

References

  • github.com/advisories/GHSA-w6p7-2fxx-4f44
  • github.com/pocket-id/pocket-id/commit/978ac87deffec58beaccd15aead975e91b94c8a5
  • github.com/pocket-id/pocket-id/releases/tag/v2.6.0
  • github.com/pocket-id/pocket-id/security/advisories/GHSA-w6p7-2fxx-4f44
  • nvd.nist.gov/vuln/detail/CVE-2026-43983

Code Behaviors & Features

Detect and mitigate CVE-2026-43983 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260419162744-978ac87deffe

Fixed versions

  • 0.0.0-20260419162744-978ac87deffe

Solution

Upgrade to version 0.0.0-20260419162744-978ac87deffe or above.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization
  • CWE-613: Insufficient Session Expiration

Source file

go/github.com/pocket-id/pocket-id/backend/CVE-2026-43983.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 15 Aug 2026 00:23:51 +0000.