6.4Medium
CVE-2026-67332@better-auth/oauth-provider before 1.7.0-beta.4 Authorization Bypass
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
| Vendor | Product | Versions | |
|---|---|---|---|
| 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
- GitHub Security Advisory (GHSA-p2fr-6hmx-4528) vendor-advisory
- VulnCheck Advisory: @better-auth/oauth-provider before 1.7.0-beta.4 Authorization Bypass third-party-advisory