CVE-2026-28512

Pocket ID: OAuth redirect_uri validation bypass via userinfo/host confusion

Published Mar 9, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Pocket ID is an OIDC provider that allows users to authenticate with their passkeys to your services. From 2.0.0 to before 2.4.0, a flaw in callback URL validation allowed crafted redirect_uri values containing URL userinfo (@) to bypass legitimate callback pattern checks. If an attacker can trick a user into opening a malicious authorization link, the authorization code may be redirected to an attacker-controlled host. This vulnerability is fixed in 2.4.0.

Analysis

AI-generated

Technical impact

A flaw in Pocket ID’s callback URL validation allowed redirect_uri values that include an @ symbol in the host component to bypass legitimate callback pattern checks. An attacker can craft a malicious authorization link that, when clicked by a user, sends the resulting authorization code to an attacker‑controlled host instead of the intended client. This can enable the attacker to obtain the authorization code and subsequently exchange it for tokens, effectively compromising user credentials and granting unauthorized access to protected resources. The weakness lies in improper input validation of redirect URIs (CWE‑601).

Affected Systems

Pocket ID versions 2.0.0 through 2.3.x are affected. Users deploying these versions should verify if they are running any of those releases and plan an upgrade to 2.4.0 or later where the validation bug has been fixed.

Risk and Exploitability

The vulnerability has a CVSS score of 7.1, indicating high severity. The EPSS score is below 1%, suggesting a low probability of real‑world exploitation at present. It is not listed in the CISA KEV catalog. Exploitation requires an attacker to entice a user to click a crafted OAuth request; if successful, the authorization code can be captured and misused. No other conditions are required. The attacker’s path hinges on user interaction with the malicious link and the business logic that accepts the redirect_uri without proper checks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Pocket ID to version 2.4.0 or later to apply the official fix.
  • Audit all registered redirect_uri values to ensure they do not contain an @ symbol in the host part or other userinfo components.
  • Implement custom validation in your authorization flow that strictly matches the host against an approved whitelist and rejects any URI that includes userinfo or other disallowed patterns.

Generated by OpenCVE AI on April 17, 2026 at 11:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9h33-g3ww-mqff Pocket ID: OAuth redirect_uri validation bypass via userinfo/host confusion
History
Type Values Removed Values Added
First Time appeared Pocket-id pocket Id
CPEs cpe:2.3:a:pocket-id:pocket_id:*:*:*:*:*:*:*:*
Vendors & Products Pocket-id pocket Id
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, '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 your services. From 2.0.0 to before 2.4.0, a flaw in callback URL validation allowed crafted redirect_uri values containing URL userinfo (@) to bypass legitimate callback pattern checks. If an attacker can trick a user into opening a malicious authorization link, the authorization code may be redirected to an attacker-controlled host. This vulnerability is fixed in 2.4.0.
Title Pocket ID: OAuth redirect_uri validation bypass via userinfo/host confusion
Weaknesses CWE-601
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 10, 2026, 2:32 PM
Reserved
Feb 27, 2026, 8:57 PM
Status
Analyzed
Published
Mar 10, 2026, 5:38 PM
Modified
Jun 17, 2026, 10:28 AM