Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @better-auth/scim
  4. ›
  5. GHSA-j8v8-g9cx-5qf4

GHSA-j8v8-g9cx-5qf4: @better-auth/scim: Account/provider takeover via missing owner binding on non-org SCIM providers

July 7, 2026

@better-auth/scim does not bind non-organization SCIM providers to their creator in the default configuration. Any authenticated user can manage another user’s non-org provider, including reading its metadata, listing connections, regenerating its SCIM bearer token, and deleting the connection. Regenerating the token rotates it: the legitimate token stops working and the attacker holds a valid one.

References

  • github.com/advisories/GHSA-j8v8-g9cx-5qf4
  • github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.4
  • github.com/better-auth/better-auth/security/advisories/GHSA-j8v8-g9cx-5qf4

Code Behaviors & Features

Detect and mitigate GHSA-j8v8-g9cx-5qf4 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.5.0 before 1.7.0-beta.4

Fixed versions

  • 1.7.0-beta.4

Solution

Upgrade to version 1.7.0-beta.4 or above.

Impact 8.3 HIGH

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

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-862: Missing Authorization

Source file

npm/@better-auth/scim/GHSA-j8v8-g9cx-5qf4.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 11 Jul 2026 12:16:22 +0000.