Pocket ID: Client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences
Summary
| CVE | CVE-2026-62662 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-04 23:17:56 UTC |
| Updated | 2026-11-04 23:17:56 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 7.7 HIGH from [email protected]
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N
Problem Types: CWE-20 | CWE-863 | CWE-20 CWE-20: Improper Input Validation | CWE-863 CWE-863: Incorrect Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Secondary | 7.7 | HIGH | CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N |
| 3.0 | CNA | DECLARED | 7.7 | HIGH | CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
HighUser Interaction
NoneScope
ChangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/pocket-id/pocket-id/commit/8158452b37304115c97c61c3a56082ce93... | [email protected] | github.com | |
| github.com/pocket-id/pocket-id/security/advisories/GHSA-q4xm-p75h-h9p3 | [email protected] | github.com | |
| github.com/pocket-id/pocket-id/releases/tag/v2.10.0 | [email protected] | github.com | |
| github.com/pocket-id/pocket-id/pull/1520 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.