6.4Medium

CVE-2026-67332@better-auth/oauth-provider before 1.7.0-beta.4 Authorization Bypass

better-auth oauth-provider Published: (3 months ago)

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.

Weakness (CWE): CWE-285

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
better-auth better-auth/oauth-provider 1.4.8 – < 1.7.0
better-auth oauth-provider 1.4.8 – < 1.7.0-beta.4, fixed 1.7.0-beta.4

References and patches