Skip to main content
EPSS 0.2%top 94%

CVE-2026-67332: Improper Authorization in better-auth oauth-provider

0
Medium
Published: 08/01/2026 (08/01/2026, 12:22:18 UTC)
Source: CVE Database V5
Vendor/Project: better-auth
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Affected software

better-auth

oauth-provider

Affected versions
>=1.4.8 <1.7.0-beta.4
@better-auth/oauth-provider
pkg:npm/@better-auth/oauth-provider
Affected versions
=1.4.8

Run 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

AILast updated: 08/08/2026, 14:24:40 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses