@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

Read the record on cve.org

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.

ProductVersions
stripe better-auth1.2.0-beta.18 to before 1.7.16 Affected1.7.16 Not Affected
stripe better-auth1.8.0-beta.0 to before 1.8.0-beta.5 Affected1.8.0-beta.5 Not Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.