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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
better-auth oauth-provider
Default version status: unaffected
1.4.8 to < 1.7.0-beta.4affected1.7.0-beta.4unaffected
pkg:npm/%40better-auth/oauth-provider