{"id":"GO-2026-6948","summary":"Pocket ID: The client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences in github.com/pocket-id/pocket-id/backend","details":"Pocket ID: The client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences in github.com/pocket-id/pocket-id/backend","aliases":["CVE-2026-62662","GHSA-q4xm-p75h-h9p3"],"modified":"2026-11-23T20:30:12.607891738Z","published":"2026-11-23T20:02:42Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-6948","review_status":"UNREVIEWED"},"references":[{"type":"ADVISORY","url":"https://github.com/pocket-id/pocket-id/security/advisories/GHSA-q4xm-p75h-h9p3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62662"},{"type":"FIX","url":"https://github.com/pocket-id/pocket-id/commit/8158452b37304115c97c61c3a56082ce938ce6f0"},{"type":"WEB","url":"https://github.com/pocket-id/pocket-id/pull/1520"},{"type":"WEB","url":"https://github.com/pocket-id/pocket-id/releases/tag/v2.10.0"}],"affected":[{"package":{"name":"github.com/pocket-id/pocket-id/backend","ecosystem":"Go","purl":"pkg:golang/github.com/pocket-id/pocket-id/backend"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20260622164202-8158452b3730"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/pocket-id/pocket-id/backend/frontend","symbols":["RegisterFrontend","isOAuth2AuthorizationPostRequest","rateLimitOnlyForOAuth2AuthorizationPostRequest"]},{"path":"github.com/pocket-id/pocket-id/backend/internal/utils","symbols":["ValidateCallbackURLPattern"]},{"symbols":["NewOidcInvalidRequestError","OidcAccountSelectionRequiredError.Error","OidcAccountSelectionRequiredError.HttpStatusCode","OidcAuthorizationPendingError.Error","OidcAuthorizationPendingError.HttpStatusCode","OidcClientAssertionInvalidError.Error","OidcClientAssertionInvalidError.HttpStatusCode","OidcClientNotFoundError.Error","OidcClientNotFoundError.HttpStatusCode","OidcClientSecretInvalidError.Error","OidcClientSecretInvalidError.HttpStatusCode","OidcConsentRequiredError.Error","OidcConsentRequiredError.HttpStatusCode","OidcGrantTypeNotSupportedError.Error","OidcGrantTypeNotSupportedError.HttpStatusCode","OidcInteractionRequiredError.Error","OidcInteractionRequiredError.HttpStatusCode","OidcInvalidAuthorizationCodeError.Error","OidcInvalidAuthorizationCodeError.HttpStatusCode","OidcInvalidCodeVerifierError.Error","OidcInvalidCodeVerifierError.HttpStatusCode","OidcInvalidRefreshTokenError.Error","OidcInvalidRefreshTokenError.HttpStatusCode","OidcInvalidRequestError.Description","OidcInvalidRequestError.Error","OidcInvalidRequestError.HttpStatusCode","OidcInvalidRequestURIError.Error","OidcInvalidRequestURIError.HttpStatusCode","OidcLoginRequiredError.Error","OidcLoginRequiredError.HttpStatusCode","OidcMissingAuthorizationCodeError.Error","OidcMissingAuthorizationCodeError.HttpStatusCode","OidcMissingCallbackURLError.Error","OidcMissingCallbackURLError.HttpStatusCode","OidcMissingClientCredentialsError.Error","OidcMissingClientCredentialsError.HttpStatusCode","OidcMissingCodeChallengeError.Error","OidcMissingCodeChallengeError.HttpStatusCode","OidcMissingRefreshTokenError.Error","OidcMissingRefreshTokenError.HttpStatusCode","OidcNoCallbackURLError.Error","OidcNoCallbackURLError.HttpStatusCode","OidcPARNotSupportedForPublicClientsError.Error","OidcPARNotSupportedForPublicClientsError.HttpStatusCode","OidcSlowDownError.Error","OidcSlowDownError.HttpStatusCode"],"path":"github.com/pocket-id/pocket-id/backend/internal/common"},{"path":"github.com/pocket-id/pocket-id/backend/internal/controller","symbols":["CustomClaimController.UpdateCustomClaimsForUserGroupHandler","CustomClaimController.UpdateCustomClaimsForUserHandler","NewApiKeyController","NewAppConfigController","NewAppImagesController","NewAuditLogController","NewCustomClaimController","NewOidcController","NewScimController","NewUserController","NewUserGroupController","NewUserSignupController","NewVersionController","NewWebauthnController","NewWellKnownController","OidcController.EndSessionHandler","OidcController.EndSessionHandlerPost","OidcController.authorizationConfirmationRequiredHandler","OidcController.authorizeCallbackURLHandler","OidcController.authorizeHandler","OidcController.createTokensHandler","OidcController.deviceAuthorizationHandler","OidcController.getDeviceCodeInfoHandler","OidcController.introspectTokenHandler","OidcController.parRequestInfoHandler","OidcController.pushedAuthorizationRequestHandler","OidcController.userInfoHandler","OidcController.verifyDeviceCodeHandler","UserController.RequestOneTimeAccessEmailAsAdminHandler","UserController.RequestOneTimeAccessEmailAsUnauthenticatedUserHandler","WebauthnController.reauthenticateHandler","WellKnownController.computeOIDCConfiguration","isOidcPromptError","parseBasicAuth"]},{"path":"github.com/pocket-id/pocket-id/backend/internal/service","symbols":["GetAuthenticationMethod","IsUserGroupAllowedToAuthorize","JwtService.BuildIDToken","JwtService.BuildOAuthAccessToken","JwtService.GenerateAccessToken","JwtService.GenerateIDToken","JwtService.GenerateOAuthAccessToken","JwtService.GenerateOAuthRefreshToken","JwtService.GetTokenType","JwtService.VerifyIdToken","JwtService.VerifyOAuthAccessToken","JwtService.VerifyOAuthRefreshToken","LdapService.SyncAll","NewOidcService","OidcService.AuthorizationRequired","OidcService.Authorize","OidcService.CreateClient","OidcService.CreateDeviceAuthorization","OidcService.CreatePushedAuthorizationRequest","OidcService.CreateTokens","OidcService.GetClientPreview","OidcService.GetDeviceCodeInfo","OidcService.GetPushedAuthorizationRequest","OidcService.GetUserClaimsForClient","OidcService.HasAuthorizedClient","OidcService.IntrospectToken","OidcService.IsClientAccessibleToUser","OidcService.ResolveAllowedCallbackURL","OidcService.ResolveAuthorizeCallbackURL","OidcService.RevokeAuthorizedClient","OidcService.UpdateClient","OidcService.ValidateEndSession","OidcService.VerifyDeviceCode","OidcService.addCallbackURLToClient","OidcService.applyPushedAuthorizationRequest","OidcService.createAuthorizationCode","OidcService.createAuthorizedClientInternal","OidcService.createRefreshToken","OidcService.createTokenFromAuthorizationCode","OidcService.createTokenFromClientCredentials","OidcService.createTokenFromDeviceCode","OidcService.createTokenFromRefreshToken","OidcService.getAndConsumePushedAuthorizationRequest","OidcService.getCallbackURL","OidcService.getJWKCache","OidcService.getLogoutCallbackURL","OidcService.getPushedAuthorizationRequestInternal","OidcService.getUserClaims","OidcService.getUserClaimsForClientInternal","OidcService.hasAuthorizedClientInternal","OidcService.introspectAccessToken","OidcService.introspectRefreshToken","OidcService.jwkSetForURL","OidcService.verifyClientAssertionFromFederatedIdentities","OidcService.verifyClientCredentialsInternal","OneTimeAccessService.ExchangeOneTimeAccessToken","ScimService.SyncAll","ScimService.SyncServiceProvider","ScimService.syncUser","SetAuthenticationMethods","UserSignUpService.SignUp","UserSignUpService.SignUpInitialAdmin","WebAuthnService.ConsumeReauthenticationToken","WebAuthnService.CreateReauthenticationTokenWithAccessToken","WebAuthnService.VerifyLogin","clientAuthCredentialsFromCreateTokensDto","codeChallengeMethodIsSha256","parsePromptParameter","resolveConfiguredCallbackURL","updateOIDCClientModelFromDto","validateCodeVerifier"]},{"path":"github.com/pocket-id/pocket-id/backend/internal/job","symbols":["DbCleanupJobs.clearOidcAuthorizationCodes","DbCleanupJobs.clearOidcPushedAuthorizationRequests","DbCleanupJobs.clearOidcRefreshTokens","Scheduler.RegisterDbCleanupJobs","ScimJobs.SyncScim"]},{"path":"github.com/pocket-id/pocket-id/backend/internal/dto","symbols":["NormalizerJSONBinding.Bind","ShouldBindWithNormalizedJSON","UserCreateDto.Validate","UserGroupCreateDto.Validate","ValidateCallbackURLPattern","ValidateResponseMode"]},{"symbols":["AuthMiddleware.Add","BuildCSP","CspMiddleware.Add","GetCSPNonce","JwtAuthMiddleware.Add","JwtAuthMiddleware.Verify","generateNonce","isCorsPath"],"path":"github.com/pocket-id/pocket-id/backend/internal/middleware"},{"symbols":["OidcAuthorizationRequestParameters.Scan","OidcAuthorizationRequestParameters.Value","OidcRefreshToken.Scopes","UserAuthorizedOidcClient.Scopes"],"path":"github.com/pocket-id/pocket-id/backend/internal/model"},{"symbols":["Bootstrap","ConnectDatabase","InitStorage","NewDatabase","initServices","registerRoutes","tlsCertProvider.StartWatching"],"path":"github.com/pocket-id/pocket-id/backend/internal/bootstrap"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6948.json"}}],"schema_version":"1.9.2"}