Incorrect Authorization Affecting @better-auth/stripe package, versions >=1.4.11 <1.6.21>=1.7.0-beta.0 <1.7.0-beta.10


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BETTERAUTHSTRIPE-18319505
  • published26 Jul 2026
  • disclosed24 Jul 2026
  • creditTaesu

Introduced: 24 Jul 2026

NewCVE-2026-67329  (opens in a new tab)
CWE-639  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade @better-auth/stripe to version 1.6.21, 1.7.0-beta.10 or higher.

Overview

@better-auth/stripe is a Stripe plugin for Better Auth

Affected versions of this package are vulnerable to Incorrect Authorization through the handling of organization subscription actions when the authorizeReference callback is used and both subscription.enabled and organization.enabled are set to true. An attacker can perform unauthorized billing actions on organizations they are a member of, such as canceling subscriptions, changing plans, restoring subscriptions, or accessing billing details, by manipulating the organization ID in the request query string to mismatch the active organization in their session. This is only exploitable if organization subscriptions are enabled, the authorizeReference callback is set, and users can join multiple organizations.

Workaround

This vulnerability can be mitigated by configuring the authorizeReference callback to approve only the caller's active organization and returning false when the requested ID does not match the active organization ID.

CVSS Base Scores

version 4.0
version 3.1