CVE-2026-28512
Pocket ID: OAuth redirect_uri validation bypass via userinfo/host confusion
Auswirkung
### 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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/pocket-id/pocket-id/backend | < 0.0.0-20260228130835-3a339e33191c | 0.0.0-20260228130835-3a339e33191c |
Betroffene Produkte · Pocket-id
| Produkt | Betroffene Versionen |
|---|---|
| Pocket Id | ab 2.0.0 vor 2.4.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/pocket-id/pocket-id/commit/3a339e33191c31b68bf57db907f800d9de5ffbc8
- https://github.com/pocket-id/pocket-id/security/advisories/GHSA-9h33-g3ww-mqff
- https://github.com/advisories/GHSA-9h33-g3ww-mqff
- https://nvd.nist.gov/vuln/detail/CVE-2026-28512