Skip to content

CVE-2026-67329 @better-auth/stripe before 1.6.21 Authorization Bypass via Organization Subscription

HighCVSS 7.1 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
better-auth @better-auth/stripe >= 1.4.11, < 1.6.21; >= 1.7.0-beta.0, < 1.7.0-beta.10 1.6.21, 1.7.0-beta.10 Fixed
better-auth @better-auth/stripe(npm) >= 1.4.11, < 1.6.21; >= 1.7.0-beta.0, < 1.7.0-beta.10 1.6.21, 1.7.0-beta.10 Fixed

Affected products

ProductAffected versionsFixed in
better-auth @better-auth/stripe >= 1.4.11, < 1.6.21 1.6.21
better-auth @better-auth/stripe >= 1.7.0-beta.0, < 1.7.0-beta.10 1.7.0-beta.10
better-auth @better-auth/stripe(npm) >= 1.4.11, < 1.6.21 1.6.21
better-auth @better-auth/stripe(npm) >= 1.7.0-beta.0, < 1.7.0-beta.10 1.7.0-beta.10

References