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

Source: https://junglewise.ai/threats/cve-2026-28513-pocket-id-oidc-authorization-code-validation-uses-and-instead-of  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-11  
License: CC BY 4.0 with a link back

CVE-2026-28513 · Severity: low · CVSS 3.1 · Published 2026-03-11

Pocket ID: OIDC authorization code validation uses AND instead of OR, allowing cross-client token exchange in github.com/pocket-id/pocket-id/backend

Technologies: [github.com/pocket-id/pocket-id/backend (Go)](https://junglewise.ai/threats/technologies/github-com-pocket-id-pocket-id-backend). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2026-28513 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-28513 being exploited in the wild.

**How severe is CVE-2026-28513?** Low severity, with a CVSS score of 3.1, published 11 March 2026.

**Which products and versions are affected?** github.com/pocket-id/pocket-id/backend (Go) SEMVER:introduced=0,fixed=0.0.0-20260307173642-b59e35cb59ae.

**Is there a fix for CVE-2026-28513?** Yes. github.com/pocket-id/pocket-id/backend (Go): upgrade to 0.0.0-20260307173642-b59e35cb59ae or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-28513?** Check whether you run github.com/pocket-id/pocket-id/backend (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/pocket-id/pocket-id/backend (Go): upgrade to 0.0.0-20260307173642-b59e35cb59ae or later

  ```sh
  go get github.com/pocket-id/pocket-id/backend@v0.0.0-20260307173642-b59e35cb59ae
  ```


## Affected products

- github.com/pocket-id/pocket-id/backend (Go) SEMVER:introduced=0,fixed=0.0.0-20260307173642-b59e35cb59ae

## Identifiers

- CVE-2026-28513
- GHSA-qh6q-598w-w6m2
- GO-2026-4656

## Related threats

- [Pocket ID OIDC audience validation bypass](https://junglewise.ai/threats/cve-2026-62662-pocket-id-is-an-oidc-provider-that-allows-users-to-authenticate)
- [Pocket ID email verification token privilege escalation](https://junglewise.ai/threats/cve-2026-115770-pocket-id-is-an-oidc-provider-that-allows-users-to-authenticate)
- [Pocket-ID open redirect in OIDC authorize page with prompt=none](https://junglewise.ai/threats/cve-2026-55834-pocket-id-open-redirect-in-oidc-authorize-page-with-prompt-none)
- [GO-2026-6117 - Pocket ID has a reauthentication bypass via one-time access token login , passkey step-up requirement…](https://junglewise.ai/threats/go-2026-6117-pocket-id-has-a-reauthentication-bypass-via-one-time-97f49b16)
- [Pocket ID reauthentication bypass via JWT freshness check fallback](https://junglewise.ai/threats/pocket-id-reauthentication-bypass-via-jwt-freshness-check-fallback-515ed392)
