Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @better-auth/stripe
  4. ›
  5. GHSA-h3rm-78g3-j7cp

GHSA-h3rm-78g3-j7cp: @better-auth/stripe: cross-organization billing tampering in organization subscription actions

July 24, 2026

An org subscription action can run against the wrong org. The actions are cancel, change plan, restore, and open the billing portal. The plugin checks permission against the org id in the request query string. It then runs the action against the caller’s active org from their session. When these two ids differ, a member can act on billing for an org they may not manage. The target is always an org the caller belongs to.

References

  • github.com/advisories/GHSA-h3rm-78g3-j7cp
  • github.com/better-auth/better-auth/commit/29fbcb573261242d8a05b131a9d39c9ae4352b06
  • github.com/better-auth/better-auth/releases/tag/v1.6.21
  • github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.10
  • github.com/better-auth/better-auth/security/advisories/GHSA-h3rm-78g3-j7cp

Code Behaviors & Features

Detect and mitigate GHSA-h3rm-78g3-j7cp with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.4.11 before 1.6.21, all versions starting from 1.7.0-beta.0 before 1.7.0-beta.10

Fixed versions

  • 1.6.21
  • 1.7.0-beta.10

Solution

Upgrade to versions 1.6.21, 1.7.0-beta.10 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-863: Incorrect Authorization

Source file

npm/@better-auth/stripe/GHSA-h3rm-78g3-j7cp.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:16:44 +0000.