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

- Severity: High 7.7 (CVSS:3.0, scored by GitHub_M) `CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 5 links below, marked "exploit"
- Published: 2026-11-04T22:29:36.917Z
- Modified: 2026-11-23T20:40:54.722Z
- Also known as: GHSA-q4xm-p75h-h9p3, GO-2026-6948
- Weaknesses: CWE-20, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pocket-id pocket-id: >= 1.11.0, < 2.10.0
- github.com/pocket-id/pocket-id/backend (Go): before 0.0.0-20260622164202-8158452b3730

## Every score

- GitHub_M: CVSS:3.0 7.7 High `CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.0 7.7 High `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> (exploit, advisory, web)
- <https://github.com/pocket-id/pocket-id/pull/1520> (exploit, web)
- <https://github.com/pocket-id/pocket-id/commit/8158452b37304115c97c61c3a56082ce938ce6f0> (exploit, fix, web)
- <https://github.com/pocket-id/pocket-id/releases/tag/v2.10.0> (exploit, web)
- <https://github.com/pocket-id/pocket-id> (exploit, package)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62662> (advisory)

## Sources

- CVE List: [CVE-2026-62662](https://www.cve.org/CVERecord?id=CVE-2026-62662), CVE Terms of Use, modified 2026-11-09
- GitHub Advisory Database: [GHSA-q4xm-p75h-h9p3](https://github.com/advisories/GHSA-q4xm-p75h-h9p3), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-6948](https://pkg.go.dev/vuln/GO-2026-6948), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-62662](https://nvd.nist.gov/vuln/detail/CVE-2026-62662), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-62662 · Whole record: https://cve.day/CVE-2026-62662.json · Rebuilt by cve.day 2026-11-25T22:59:49.062Z
