Go
CVE-2026-62662
Pocket ID: The client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences
- Severity
- High 7.7
- Published
- 9 Nov 2026
- Last changed
- 9 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.0.0-20260622164202-8158452b3730
- Exploit chance
- 0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · Needs an administrator account · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N- Also known as
- GHSA-q4xm-p75h-h9p3
- Sources
- OSV.dev and GitHub
Description
The client credentials grant (grant_type=client_credentials) does not validate the resource parameter before embedding it as the aud claim in the issued JWT. Any authenticated OIDC client can obtain a Pocket ID-signed access token claiming authorization for any arbitrary audience, including other registered OIDC clients. There is no check that the requested audience is a registered resource server, and no check that the requesting client has been granted permission to access it.
In backend/internal/service/oidc_service.go, createTokenFromClientCredentials accepts the resource parameter from the token request and places it directly into the aud claim of the issued JWT without validation:
The only guard in this function is verifyClientCredentialsInternal, which confirms the requesting client's credentials are valid. After that check passes, any value supplied as resource is accepted.
Affected software
| Software | Affected versions |
|---|---|
github.com/pocket-id/pocket-id/backendGo · osv:Go:github.com/pocket-id/pocket-id/backend |
|
About github.com/pocket-id/pocket-id/backend
Vulnerabilities in github.com/pocket-id/pocket-id/backend
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 1
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-115770Pocket ID: Email verification token remains valid after address change, enabling arbitrary verified-email spoofingCritical 9.6 9 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-62662
- GitHub Advisory Database https://github.com/advisories/GHSA-q4xm-p75h-h9p3