CVE-2026-28512 is a high-severity (CVSS 7.1) Open Redirect vulnerability in github.com/pocket-id/pocket-id/backend. A fix is available for github.com/pocket-id/pocket-id/backend — see the affected versions and patch details below.
Pocket ID: OAuth redirect_uri validation bypass via userinfo/host confusion
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-28512.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/pocket-id/pocket-id/backendReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/pocket-id/pocket-id/backend | all versions | 0.0.0-20260228130835-3a339e33191cgo get github.com/pocket-id/pocket-id/backend@v0.0.0-20260228130835-3a339e33191c |
Affected Products
pocket idpocket-idDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/pocket-id/pocket-id/backend, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/pocket-id/pocket-id/backend to 0.0.0-20260228130835-3a339e33191c or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-28512 is resolved across your whole dependency graph.
Workarounds
Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.
Frequently Asked Questions
Is CVE-2026-28512 in your dependencies?
Find it across Go, including transitive dependencies.