Incorrect Authorization Affecting github.com/pocket-id/pocket-id/backend/internal/service package, versions <2.4.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.28% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPOCKETIDPOCKETIDBACKENDINTERNALSERVICE-15445089
  • published10 Mar 2026
  • disclosed9 Mar 2026
  • creditKen Watanabe

Introduced: 9 Mar 2026

CVE-2026-28513  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/pocket-id/pocket-id/backend/internal/service to version 2.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization in the OIDC token exchange process. An attacker can obtain tokens for unauthorized clients or reuse expired authorization codes by submitting a valid authorization code with a different client ID or by using an expired code with the correct client ID. This is only exploitable if the environment is configured with APP_ENV=test and BUILD_TAGS=e2etest, and the user has authorized multiple OIDC clients.

References

CVSS Base Scores

version 4.0
version 3.1