# CVE-2026-28513: Pocket ID: OIDC authorization code validation uses AND instead of OR, allowing cross-client token exchange

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-03-09T17:24:49.000Z
- Modified: 2026-06-17T10:28:46.527Z
- Also known as: GHSA-qh6q-598w-w6m2, GO-2026-4656
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pocket-id pocket-id: < 2.4.0
- github.com/pocket-id/pocket-id/backend (Go): before 0.0.0-20260307173642-b59e35cb59ae
- pocket-id pocket_id: before 2.4.0

## Every score

- GitHub_M: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/pocket-id/pocket-id/security/advisories/GHSA-qh6q-598w-w6m2> (exploit, advisory, vendor-advisory, web)
- <https://github.com/pocket-id/pocket-id> (exploit, package)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28513> (advisory)

## Sources

- CVE List: [CVE-2026-28513](https://www.cve.org/CVERecord?id=CVE-2026-28513), CVE Terms of Use, modified 2026-03-10
- GitHub Advisory Database: [GHSA-qh6q-598w-w6m2](https://github.com/advisories/GHSA-qh6q-598w-w6m2), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4656](https://pkg.go.dev/vuln/GO-2026-4656), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-28513](https://nvd.nist.gov/vuln/detail/CVE-2026-28513), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-28513 · Whole record: https://cve.day/CVE-2026-28513.json · Rebuilt by cve.day 2026-11-25T22:59:15.560Z
