npm
CVE-2026-134317
@better-auth/stripe before 1.7.16 Authorization Bypass via stripeCustomerId Mass Assignment
- Severity
- Medium 6.0
- Published
- 21 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.7.16, 1.8.0-beta.5
- Exploit chance
- 0.4% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read some data · Change data
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
@better-auth/stripenpm · osv:npm:@better-auth/stripe |
|
About @better-auth/stripe
- Weekly downloads (npm)
- 840,212npm, 24 Nov 2026
This is the only vulnerability in @better-auth/stripe in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134317