NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-28512: Pocket ID: OAuth redirect_uri validation bypass via userinfo/host confusion

highCVSS 3.1 7.1GHSA-9h33-g3ww-mqff

Impact A flaw in callback URL validation allowed crafted redirecturi 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. Patches Fixed in v2.3.1 (commit 3a339e33191c31b68bf57db907f800d9de5ffbc8).

Published Mar 9, 2026 · Updated Mar 10, 2026

Affected packages

github.com/pocket-id/pocket-id/backend

Ecosystem
Go
Affected
< 0.0.0-20260228130835-3a339e33191c
Fixed in
0.0.0-20260228130835-3a339e33191c
Check
go list -m github.com/pocket-id/pocket-id/backend

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

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.

Patches

Fixed in v2.3.1 (commit 3a339e33191c31b68bf57db907f800d9de5ffbc8). The fix replaces delimiter-based callback matching with structured URL pattern matching and updates validation logic/tests.

Workarounds

  • Reject callback URLs containing userinfo (@) at reverse proxy / app policy level if feasible.

Credited to ByamB4.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries