{
  "id": "CVE-2026-53515",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53515",
  "published_at": "2026-07-15T17:27:00.291Z",
  "title": "Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso",
  "vendor": "better-auth",
  "product": "better-auth",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Better Auth is an authentication and authorization library for TypeScript. From 1.2.10 until 1.6.11, the @better-auth/sso plugin's POST /sso/register endpoint lets any organization member attach a new SSO provider to that organization because registerSSOProvider checks only for a membership row and does not require an owner or admin role, allowing attacker-controlled OIDC or SAML providers to drive /sso/callback/{providerId} organization provisioning. This issue is fixed in version 1.6.11.",
  "cwe": "CWE-269",
  "cpes": [
    "cpe:2.3:a:better-auth:better-auth\\/sso:*:*:*:*:*:node.js:*:*",
    "cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "better-auth",
        "product": "better-auth",
        "ranges": [
          "\u003e= 1.2.10, \u003c 1.6.11"
        ],
        "fixed_in": [
          "1.6.11"
        ]
      },
      {
        "vendor": "@better-auth",
        "product": "sso",
        "ranges": [
          "\u003e= 1.2.10, \u003c 1.6.11"
        ],
        "fixed_in": [
          "1.6.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade better-auth to 1.6.11 or later.",
      "Upgrade sso to 1.6.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/better-auth/better-auth/security/advisories/GHSA-gv74-j8m3-fg5f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/better-auth/better-auth/pull/9220"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/better-auth/better-auth/commit/86765f1597378f5c3deed1b80ca91faac0a6bf00"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/better-auth/better-auth/releases/tag/v1.6.11"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
