@better-auth/stripe before 1.7.16 Authorization Bypass via stripeCustomerId Mass Assignment
- State
- Published
- Severity
- 6.0 Medium
- Published
- Nov 21, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 20, 2026
Description
@better-auth/stripe 1.2.0-beta.18 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an authorization bypass vulnerability because the stripeCustomerId user field accepts values from sign-up and update-user requests, letting a user replace their own Stripe customer ID with another customer's. Attackers who know another customer's Stripe ID can open that customer's billing portal to view invoices and billing details, change payment methods, and cancel or modify subscriptions.
| Product | Versions |
|---|---|
| stripe better-auth | 1.2.0-beta.18 to before 1.7.16 Affected1.7.16 Not Affected |
| stripe better-auth | 1.8.0-beta.0 to before 1.8.0-beta.5 Affected1.8.0-beta.5 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | VulnCheck | |
| 3.1 | 5.9 Medium | VulnCheck |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.