Vulnerability · Published Nov 4, 2026 · Assigned by GitHub_M
CVE-2026-62662Pocket ID: Client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences
High 7.7
In plain English
A high-severity improper input validation in pocket-id from pocket-id. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-20, CWE-863 · Vector: CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N
References
- https://github.com/pocket-id/pocket-id/security/advisories/GHSA-q4xm-p75h-h9p3 x_refsource_CONFIRM
- https://github.com/pocket-id/pocket-id/pull/1520 x_refsource_MISC
- https://github.com/pocket-id/pocket-id/commit/8158452b37304115c97c61c3a56082ce938ce6f0 x_refsource_MISC
- https://github.com/pocket-id/pocket-id/releases/tag/v2.10.0 x_refsource_MISC