CVE-2026-28513
HIGH 7.1CVSS 3.1Pocket ID: OIDC authorization code validation uses AND instead of OR, allowing cross-client token exchange
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.
- Published
- 10 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- GHSA-qh6q-598w-w6m2GO-2026-4656
- Sources
- NVDJSONOSV GHSA-qh6q-598w-w6m2JSONOSV GO-2026-4656JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pocket-id | pocket_idcpe:2.3:a:pocket-id:pocket_id:*:*:*:*:*:*:*:* |
< 2.4.0 | 2.4.0 |
| OSV | Go | github.com/pocket-id/pocket-id/backend | < 0.0.0-20260307173642-b59e35cb59ae | 0.0.0-20260307173642-b59e35cb59ae |
References
- https://github.com/pocket-id/pocket-id/security/advisories/GHSA-qh6q-598w-w6m2 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-28513 · ADVISORY
- https://github.com/pocket-id/pocket-id · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Mar 2026)