Read the docs

Authorization bypass in @better-auth/stripe via stripeCustomerId field

Priority LOW 27CWE-639Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
Security bypass
Confidentiality · integrity · availability
Low · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-639.

Summary

@better-auth/stripe from 1.2.0-beta.18 before 1.7.16 and from 1.8.0-beta.0 before 1.8.0-beta.5 accepts the stripeCustomerId user field from sign-up and update-user requests (CWE-639). A user with low privileges who knows another customer's Stripe ID can replace their own Stripe customer ID with that customer's ID. Through that customer's billing portal, the attacker can view invoices and billing details, change payment methods, and cancel or modify subscriptions.

Written with Claude Haiku 5.5 from the sources below · 2026-11-21

Description from the CNA

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00274 12th percentileScored 2026-11-30
Fix Fixed stripe (better-auth): 1.7.16, 1.8.0-beta.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
better-authstripe1.2.0-beta.18 to before 1.7.161.7.16Patch availableCNA
better-authstripe1.8.0-beta.0 to before 1.8.0-beta.51.8.0-beta.5Patch availableCNA
  • stripe Vendorbetter-auth Affected 1.2.0-beta.18 to before 1.7.16 Fixed in 1.7.16 Patch available CNA
  • stripe Vendorbetter-auth Affected 1.8.0-beta.0 to before 1.8.0-beta.5 Fixed in 1.8.0-beta.5 Patch available CNA

Remediation

Update @better-auth/stripe to 1.7.16, or to 1.8.0-beta.5 if you run the 1.8.0-beta.0 pre-release.

Written with Claude Haiku 5.5 from the sources below · 2026-11-21

  • Fix · CNA stripe (better-auth) Fixed in 1.7.16
  • Fix · CNA stripe (better-auth) Fixed in 1.8.0-beta.5

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-134317
  2. 2026-11-21 Alias added: GHSA-9336-j5rm-j75g
  3. 2026-11-24 CISA SSVC decision points changed

References

  • TI-2025-38277 Better Auth: Unauthenticated API key creation through api-key plugin CVSS 4.0CRITICAL 9.3
  • TI-2026-47627 better-auth SCIM 1.5.0 before 1.7.0-beta.4 Authorization Bypass CVSS 4.0HIGH 8.7
  • TI-2025-20000 Beter Auth has an Open Redirect via Scheme-Less Callback Parameter CVSS 4.0MEDIUM 6.9
  • TI-2026-13066 better-auth better-icons scan_project_icons/sync_icon path traversal CVSS 4.0MEDIUM 4.8
  • TI-2026-79320 OAuth state accepted as Magic Link token in Better Auth CVSS 3.1CRITICAL 9.1
  • TI-2026-74552 Authentication bypass in Better Auth Magic Link verification CVSS 4.0CRITICAL 9.3
See all 50 →

Sources