CVE-2026-62662

Pocket ID: Client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences

Published Nov 4, 2026 CVSS 3.0 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Pocket ID’s client‑credentials flow accepts an arbitrary audience from the client without validating it, embedding the value directly into the access‑token’s aud claim. An attacker who can act as an OIDC client can therefore obtain a Pocket ID‑signed token that claims to belong to any other client or to an arbitrary audience. The introspection endpoint treats a token as active when the introspecting client’s identifier matches the requested audience, meaning the token appears legitimate to any resource server that relies solely on the aud field for authorization. Consequently, an attacker can bypass audience‑based controls and gain unauthorized access to data or actions protected by Pocket ID tokens, representing a high‑severity security flaw.

Affected Systems

This vulnerability affects the Pocket ID open‑source OIDC provider (pocket‑id:pocket‑id). Versions from 1.11.0 through 2.9.x are vulnerable; the issue was fixed in release 2.10.0.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector is client‑side: an authenticated OIDC client only must present the client‑credentials grant and supply an arbitrary audience. No network compromise, privileged host access, or side‑channel exploitation is required, making the vulnerability readily exploitable by any client that can obtain client credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Pocket ID to version 2.10.0 or later to enforce audience validation
  • Configure resource servers to validate the aud claim against a list of approved clients and reject tokens with mismatched audiences
  • If upgrading immediately is not possible, restrict the use of the client‑credentials grant to trusted applications and monitor token issuance patterns for abnormal audience values

Generated by OpenCVE AI on November 5, 2026 at 00:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-q4xm-p75h-h9p3 Pocket ID: The client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pocket-id
Pocket-id pocket-id
Vendors & Products Pocket-id
Pocket-id pocket-id
Type Values Removed Values Added
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.
Title Pocket ID: Client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences
Weaknesses CWE-20
CWE-863
References
Metrics cvssV3_0

{'score': 7.7, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 9:56 PM
Reserved
Jul 14, 2026, 8:22 PM
Status
Deferred
Published
Nov 4, 2026, 11:17 PM
Modified
Nov 12, 2026, 10:18 PM