Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @better-auth/sso
  4. ›
  5. CVE-2026-53515

CVE-2026-53515: @better-auth/sso: SSO provider may allow registration for any org member without a checking their role

July 20, 2026

The SSO plugin’s POST /sso/register endpoint lets any member of an organization attach a new SSO provider to that organization. It checks that the caller has a membership row, but it does not check whether the caller has an administrative role for the organization.

This creates an authorization mismatch for the same resource. Other org-linked SSO provider management endpoints treat those providers as admin-managed: list, get, update, and delete require the caller to be an organization owner or admin. The create path is less restrictive, so a regular member can attach an attacker-controlled OIDC or SAML identity provider to an organization they do not administer. After registration, downstream organization provisioning can add IdP-asserted users from /sso/callback/{providerId} into the target organization, defaulting to role member.

References

  • github.com/advisories/GHSA-gv74-j8m3-fg5f
  • github.com/better-auth/better-auth/commit/86765f1597378f5c3deed1b80ca91faac0a6bf00
  • github.com/better-auth/better-auth/issues/9133
  • github.com/better-auth/better-auth/pull/9220
  • github.com/better-auth/better-auth/releases/tag/v1.6.11
  • github.com/better-auth/better-auth/security/advisories/GHSA-gv74-j8m3-fg5f
  • nvd.nist.gov/vuln/detail/CVE-2026-53515

Code Behaviors & Features

Detect and mitigate CVE-2026-53515 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.2.10 before 1.6.11

Fixed versions

  • 1.6.11

Solution

Upgrade to version 1.6.11 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-269: Improper Privilege Management
  • CWE-285: Improper Authorization
  • CWE-863: Incorrect Authorization

Source file

npm/@better-auth/sso/CVE-2026-53515.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 08 Aug 2026 00:18:51 +0000.