User Impersonation Affecting github.com/supabase/auth/internal/api package, versions <2.185.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th 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 IDSNYK-GOLANG-GITHUBCOMSUPABASEAUTHINTERNALAPI-15665298
  • published16 Mar 2026
  • disclosed11 Mar 2026
  • creditUnknown

Introduced: 11 Mar 2026

CVE-2026-31813  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade github.com/supabase/auth/internal/api to version 2.185.0 or higher.

Overview

Affected versions of this package are vulnerable to User Impersonation via the IdTokenGrantParams.getProvider issuer validation logic in the Apple and Azure provider handlers. An attacker can obtain valid sessions for arbitrary users by submitting crafted ID tokens that bypass issuer validation.

References

CVSS Base Scores

version 4.0
version 3.1