CVE-2026-67332: Improper Authorization in better-auth oauth-provider
@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.
AI Analysis
Technical Summary
The vulnerability in better-auth oauth-provider versions prior to 1.7.0-beta.4 stems from a failure to bind the access-token audience to the authorization grant. As a result, an attacker who completes an OAuth flow can obtain access tokens with audiences targeting resource servers outside the scope of the original authorization. This improper authorization can lead to unauthorized access to resources that should be protected by OAuth authorization boundaries.
Potential Impact
Attackers can obtain access tokens that grant access to resource servers not covered by the original authorization grant. This bypasses intended authorization restrictions and could lead to unauthorized access to protected resources. The CVSS 4.0 base score is 5.3 (medium severity), reflecting network attack vector, low complexity, no user interaction, and limited confidentiality and integrity impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Users should monitor the vendor's announcements for updates and consider restricting OAuth client permissions and scopes as a temporary measure until a fix is available.
CVE-2026-67332: Improper Authorization in better-auth oauth-provider
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.
CVSS v4.0
Score 5.3medium
Affected software
better-auth
oauth-provider
pkg:npm/@better-auth/oauth-providerRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in better-auth oauth-provider versions prior to 1.7.0-beta.4 stems from a failure to bind the access-token audience to the authorization grant. As a result, an attacker who completes an OAuth flow can obtain access tokens with audiences targeting resource servers outside the scope of the original authorization. This improper authorization can lead to unauthorized access to resources that should be protected by OAuth authorization boundaries.
Potential Impact
Attackers can obtain access tokens that grant access to resource servers not covered by the original authorization grant. This bypasses intended authorization restrictions and could lead to unauthorized access to protected resources. The CVSS 4.0 base score is 5.3 (medium severity), reflecting network attack vector, low complexity, no user interaction, and limited confidentiality and integrity impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Users should monitor the vendor's announcements for updates and consider restricting OAuth client permissions and scopes as a temporary measure until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-29T13:07:47.015Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6deb27bf32cb7a34c1fc42
Added to database: 08/01/2026, 12:48:39 UTC
Last enriched: 08/08/2026, 14:24:40 UTC
Last updated: 09/15/2026, 01:08:46 UTC
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.