Skip to content

CVE-2026-62662 Pocket ID: Client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences

HighCVSS 7.7 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

Pocket ID is an OIDC provider that allows users to authenticate with their passkeys to services. From 1.11.0 until 2.10.0, createTokenFromClientCredentials in backend/internal/service/oidc_service.go accepts the client-controlled resource parameter and embeds it directly in the access token aud claim without validating that the audience is registered or that the requesting client may access it. Any authenticated OIDC client can therefore obtain a Pocket ID-signed token naming another client or an arbitrary audience. The /api/oidc/introspect endpoint cannot distinguish the unauthorized token because it treats a token as active when the introspecting client's identifier matches the attacker-selected audience. In deployments where resource servers trust Pocket ID access tokens for service-to-service authorization, this bypasses audience-based access controls and can permit unauthorized data access or actions; deployments that do not use these tokens for resource-server authorization have no immediate exploitable impact. This issue is fixed in version 2.10.0.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pocket-id github.com/pocket-id/pocket-id/backend(Go) < 0.0.0-20260622164202-8158452b3730 0.0.0-20260622164202-8158452b3730 Fixed
pocket-id = >= 1.11.0, < 2.10.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pocket-id github.com/pocket-id/pocket-id/backend(Go) < 0.0.0-20260622164202-8158452b3730 0.0.0-20260622164202-8158452b3730
pocket-id = >= 1.11.0, < 2.10.0 No fix listed

References