Insufficient Session Expiration Affecting github.com/nhost/nhost/services/auth/go/api package, versions <0.50.1


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 IDSNYK-GOLANG-GITHUBCOMNHOSTNHOSTSERVICESAUTHGOAPI-16726412
  • published17 May 2026
  • disclosed8 May 2026
  • creditskoveit

Introduced: 8 May 2026

CVE NOT AVAILABLE CWE-613  (opens in a new tab)

How to fix?

Upgrade github.com/nhost/nhost/services/auth/go/api to version 0.50.1 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Session Expiration due to the failure to revoke existing refresh tokens in the auth.refresh_tokens and auth.oauth2_refresh_tokens tables after a password change. An attacker can maintain unauthorized access to a user's account by continuing to use a previously stolen refresh token, even after the legitimate user has changed their password.

CVSS Base Scores

version 4.0
version 3.1