CVE-2026-53515
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedBetter 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe @better-auth/sso plugin's POST /sso/register endpoint has an authorization bypass where registerSSOProvider only checks for organization membership but fails to verify the user has owner or admin privileges. This allows any organization member to register attacker-controlled OIDC or SAML SSO providers, which can then use the /sso/callback/{providerId} endpoint to provision malicious organizations.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 1.6.11>= 1.2.10, < 1.6.11CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Better Auth versionCheck your package.json or node_modules/@better-auth/core/package.json for the version field, or run `npm list @better-auth/core` or `npm list better-auth`Affected if version is >= 1.2.10 and < 1.6.11, or the @better-auth/sso plugin version is < 1.6.11
-
Verify SSO plugin is enabledInspect your Better Auth configuration to confirm the sso plugin is imported and initialized in your auth instanceAffected if the sso plugin from @better-auth/sso is installed and configured in your application
-
Confirm organization feature is in useCheck your Better Auth configuration for the organization plugin (org: orgPlugin) being enabled, as the vulnerability requires organization membership to exploitAffected if the organization plugin is enabled and users can belong to organizations
-
Review SSO provider registrationsExamine your database or admin configuration for any SSO provider registrations, particularly any providers that were not intentionally created by admin/owner usersAffected if there are SSO providers registered that were not created by users with owner or admin privileges
Your environment is affected if you are running Better Auth or @better-auth/sso with versions between 1.2.10 and 1.6.11 (exclusive), have the SSO plugin enabled, and use the organization feature where unprivileged members could register SSO providers.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.6.11
Upgrade to Better Auth version 1.6.11 or later which adds proper role verification to the registerSSOProvider function.
1.6.11
- Check current better-auth and @better-auth/sso versions by running `npm list better-auth @better-auth/sso` or checking package.json
- Update to version 1.6.11 by running `npm install [email protected] @better-auth/[email protected]` or `npm install @better-auth/sso@latest`
- Verify the upgrade was successful by checking the installed version with `npm list`
- Test that the SSO registration endpoint now properly enforces owner/admin role requirements for adding SSO providers
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-53515 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-53515 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data