CVE-2026-134317 @better-auth/stripe before 1.7.16 Authorization Bypass via stripeCustomerId Mass Assignment

Published Updated

Users can replace their Stripe customer ID to view other customers' invoices and change their billing; apps using @better-auth/stripe should care.

CVSS score

Medium

6.0/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
1.8.0-beta.5, 1.7.16
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-134317?

CVE-2026-134317 is a medium-severity missing authorization vulnerability in better-auth stripe, published on 21 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-639

How severe is CVE-2026-134317?

CVE-2026-134317 scores 6.0 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
Low
User interaction
None
Confidentiality
Low
Integrity
High
Availability
None

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

Which versions are affected by CVE-2026-134317?

2 open source packages ship an affected version, including %40better-auth/stripe.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
%40better-auth/stripe npm
pkg:npm/%40better-auth/stripe
From 1.2.0-beta.181.7.16
%40better-auth/stripe npm
pkg:npm/%40better-auth/stripe
From 1.8.0-beta.01.8.0-beta.5

How do I fix CVE-2026-134317?

Upgrade %40better-auth/stripe to a fixed version for your release line: 1.8.0-beta.5 or 1.7.16.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-134317 being exploited?

There is no known exploitation of CVE-2026-134317 in the wild and no public exploit code.

Sources

Also known as GHSA-9336-j5rm-j75g, GHSA-x8j7-xh58-rv6x.

Is CVE-2026-134317 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free