# CVE-2026-53515: Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-07-15T17:27:00.291Z
- Modified: 2026-07-21T15:38:36.120Z
- Also known as: GHSA-gv74-j8m3-fg5f
- Weaknesses: CWE-269, CWE-285, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- better-auth better-auth: >= 1.2.10, < 1.6.11
- @better-auth sso: >= 1.2.10, < 1.6.11
- @better-auth/sso (npm): from 1.2.10 before 1.6.11
- better-auth better-auth/sso: before 1.6.11
- better-auth better_auth: from 1.2.10 before 1.6.11

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://github.com/better-auth/better-auth/security/advisories/GHSA-gv74-j8m3-fg5f> (mitigation, vendor-advisory, web)
- <https://github.com/better-auth/better-auth/pull/9220> (issue-tracking, patch, web)
- <https://github.com/better-auth/better-auth/commit/86765f1597378f5c3deed1b80ca91faac0a6bf00> (patch, web)
- <https://github.com/better-auth/better-auth/releases/tag/v1.6.11> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53515> (advisory)
- <https://github.com/better-auth/better-auth/issues/9133> (web)
- <https://github.com/better-auth/better-auth> (package)

## Sources

- CVE List: [CVE-2026-53515](https://www.cve.org/CVERecord?id=CVE-2026-53515), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-gv74-j8m3-fg5f](https://github.com/advisories/GHSA-gv74-j8m3-fg5f), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-53515](https://nvd.nist.gov/vuln/detail/CVE-2026-53515), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-53515 · Whole record: https://cve.day/CVE-2026-53515.json · Rebuilt by cve.day 2026-11-25T22:59:28.322Z
