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

Status: published. Published: 2026-11-04. Updated: 2026-11-04.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- pocket-id / pocket-id: >= 1.11.0, < 2.10.0 (affected). Source: CNA: GitHub_M

## Severity and prioritization

- 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; source: CNA: 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; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-20, CWE-863

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/pocket-id/pocket-id/security/advisories/GHSA-q4xm-p75h-h9p3 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/pocket-id/pocket-id/pull/1520 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/pocket-id/pocket-id/commit/8158452b37304115c97c61c3a56082ce938ce6f0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/pocket-id/pocket-id/releases/tag/v2.10.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/pocket-id/pocket-id/commit/8158452b37304115c97c61c3a56082ce938ce6f0 (security-advisories@github.com)

- https://github.com/pocket-id/pocket-id/pull/1520 (security-advisories@github.com)

- https://github.com/pocket-id/pocket-id/releases/tag/v2.10.0 (security-advisories@github.com)

- https://github.com/pocket-id/pocket-id/security/advisories/GHSA-q4xm-p75h-h9p3 (security-advisories@github.com)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-62662; retrieved 2026-11-04; source updated 2026-11-04

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-62662; retrieved 2026-11-05; source updated 2026-11-04

Revision: 227a725834803b38770ef67ec39103097c25735b4f33c7fb32726844c0a38b75

Canonical: https://y2.dev/cve/CVE-2026-62662

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.