@better-auth/oauth-provider before 1.7.0-beta.4 Authorization Bypass
better-auth oauth-provider
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @better-auth/oauth-provider npm |
|
|
Original description
@better-auth/oauth-provider before 1.7.0-beta.4 fails to bind access-token audience to the authorization grant, allowing clients to request tokens for unrelated resources. Attackers can complete an OAuth flow and obtain access tokens whose audience targets resource servers the authorization never covered, bypassing intended authorization boundaries.
From the CVE record · VulnCheck