Auth bypass in Better-Auth Stripe
CVE-2026-67329
@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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 24.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Better-Auth Stripe — versions 1.4.11, 1.6.21, 1.7.0-beta.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-h3rm-78g3-j7cp) (vendor-advisory)
- www.vulncheck.com/advisories/better-auth-stripe-before-authorization-bypass-via… (third-party-advisory)