High severityNVD Advisory· Published Mar 9, 2026· Updated Mar 10, 2026
Pocket ID: OIDC authorization code validation uses AND instead of OR, allowing cross-client token exchange
CVE-2026-28513
Description
Pocket ID is an OIDC provider that allows users to authenticate with their passkeys to your services. Prior to 2.4.0, the OIDC token endpoint rejects an authorization code only when both the client ID is wrong and the code is expired. This allows cross-client code exchange and expired code reuse. This vulnerability is fixed in 2.4.0.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/pocket-id/pocket-id/backendGo | < 0.0.0-20260307173642-b59e35cb59ae | 0.0.0-20260307173642-b59e35cb59ae |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-qh6q-598w-w6m2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-28513ghsaADVISORY
- github.com/pocket-id/pocket-id/security/advisories/GHSA-qh6q-598w-w6m2ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.