Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/pocket-id/pocket-id/backend
  4. ›
  5. GHSA-hp74-gm6m-2qm5

GHSA-hp74-gm6m-2qm5: Pocket ID has a reauthentication bypass via one-time access token login — passkey step-up requirement defeated by JWT freshness check that accepts any login method

July 28, 2026

A weaker authentication method (OTA token or signup token) is accepted as passkey step-up proof, yielding unauthorized renewable 30-day OIDC refresh tokens for clients explicitly configured with RequiresReauthentication: true. The POST /api/webauthn/reauthenticate endpoint’s access-token fallback checks only JWT freshness (IssuedAt within 60 seconds), not the authentication method used. The session cookie gate is also non-validating – any arbitrary cookie value (e.g. session=deadbeef) is accepted, collapsing the reauth boundary to token recency alone.

The bypass needs to succeed only once. The resulting OIDC grant includes a 30-day refresh token that can be rotated indefinitely, providing persistent victim-impersonation access to the protected downstream service. The attacker obtains access_token (1-hour TTL), id_token (victim’s name, email, profile), and refresh_token (30-day TTL, renewable) for a client that was explicitly configured to require passkey step-up authentication. The attacker can perform victim-scoped actions at the downstream relying party indefinitely.

References

  • github.com/advisories/GHSA-hp74-gm6m-2qm5
  • github.com/pocket-id/pocket-id/commit/978ac87deffec58beaccd15aead975e91b94c8a5
  • github.com/pocket-id/pocket-id/releases/tag/v2.6.0
  • github.com/pocket-id/pocket-id/security/advisories/GHSA-hp74-gm6m-2qm5

Code Behaviors & Features

Detect and mitigate GHSA-hp74-gm6m-2qm5 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260419162744-978ac87deffe

Fixed versions

  • 0.0.0-20260419162744-978ac87deffe

Solution

Upgrade to version 0.0.0-20260419162744-978ac87deffe or above.

Impact 8.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

go/github.com/pocket-id/pocket-id/backend/GHSA-hp74-gm6m-2qm5.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 14 Aug 2026 12:18:57 +0000.