Vulnerability · Published Aug 1, 2026 · Assigned by VulnCheck
CVE-2026-67329@better-auth/stripe before 1.6.21 Authorization Bypass via Organization Subscription
High 7.1
In plain English
A high-severity authorization bypass via user-controlled key in stripe from better-auth. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
@better-auth/stripe versions >= 1.4.11 and < 1.6.21, and >= 1.7.0-beta.0 and < 1.7.0-beta.10, contain an authorization bypass in organization subscription actions. The middleware validates the organization ID taken from the request query string against the authorizeReference callback, but the handler reads the organization ID only from the request body and falls back to the caller's active organization from their session. When these differ, an authenticated member of multiple organizations can perform subscription actions (cancel, change plan, restore, billing portal access) against an organization they belong to but should not manage, and can access another organization's billing details including payment methods, invoices, and subscription state.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @better-auth/stripe | 1.6.21 | GHSA-h3rm-78g3-j7cp |
| npm | @better-auth/stripe | 1.7.0-beta.10 | GHSA-h3rm-78g3-j7cp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| better-auth | stripe | 1.4.11 – before 1.6.21 |
| better-auth | stripe | 1.7.0-beta.0 – before 1.7.0-beta.10 |
Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N