CVE-2026-62662: Pocket ID: The client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences
Published 2026-11-09 · Updated 2026-11-23 · Also known as GHSA-q4xm-p75h-h9p3, GO-2026-6948
Summary
Pocket ID's client credentials grant fails to validate the requested resource parameter, allowing OIDC clients to forge tokens for arbitrary audiences. Administrators using service-to-service authorization via Pocket ID should update to the patched version immediately.
Who is affected
This vulnerability affects deployments using the client credentials grant for service-to-service authorization. A malicious or compromised client can obtain a valid, signed JWT for any audience, effectively bypassing security boundaries between services. If no resource servers validate tokens against Pocket ID's JWKS, the impact is minimized.
Exploitability
The vulnerability is rated High (CVSS 7.7) due to its remote exploitation potential and impact on confidentiality and integrity. The EPSS score of 0.004 indicates low current activity, and the issue is not listed in CISA's Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade github.com/pocket-id/pocket-id/backend to version 0.0.0-20260622164202-8158452b3730 or later.
- Review existing OIDC client configurations and audit service-to-service access permissions for unauthorized token usage.
How to check your project
- Check the go.mod file in the project for dependencies on github.com/pocket-id/pocket-id/backend.
- Verify the installed version of the backend module against the fixed version 0.0.0-20260622164202-8158452b3730.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/pocket-id/pocket-id/backend |
>= 0, < 0.0.0-20260622164202-8158452b3730 | 0.0.0-20260622164202-8158452b3730 | go get github.com/pocket-id/pocket-id/[email protected] |
CVSS 3.0 vector
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | High |
| User interaction | None |
| Scope | Changed |
| Confidentiality | High |
| Integrity | High |
| Availability | None |
FAQ
Is this vulnerability actively being exploited?
There is no evidence of active exploitation currently listed in the CISA Known Exploited Vulnerabilities catalog.
How does an attacker exploit this?
An attacker with valid OIDC client credentials submits a POST request to the token endpoint with an arbitrary 'resource' parameter, which the server fails to validate before signing the JWT.
Can introspection detect these fraudulent tokens?
No, the introspection endpoint cannot distinguish between legitimate and forged tokens because the server lacks records of which client was authorized to request specific audience tokens.
Original advisory description
References
- WEB https://github.com/pocket-id/pocket-id/security/advisories/GHSA-q4xm-p75h-h9p3
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-62662
- WEB https://github.com/pocket-id/pocket-id/pull/1520
- WEB https://github.com/pocket-id/pocket-id/commit/8158452b37304115c97c61c3a56082ce938ce6f0
- PACKAGE https://github.com/pocket-id/pocket-id
- WEB https://github.com/pocket-id/pocket-id/releases/tag/v2.10.0
Source records: GHSA-q4xm-p75h-h9p3, GO-2026-6948 (OSV.dev) · EPSS by FIRST, 2026-11-23.