highCVSS 7.7Vulnerability

CVE-2026-53514

### Am I affected? Users are affected if all of the following are true: - Their application uses `better-auth` with the `organization` plugin (`import { organization } from "better-auth/plugins/organization"`). - Their application enables a sign-up surface that allows arbitrary unverified email registration. Most commonly `emailAndPassword: { enabled: true }` without `requireEmailVerification: true`. - Their application has not set `requireEmailVerificationOnInvitation: true` on the `organization()` options. - Their application invitation distribution flow allows anyone other than the invited mailbox owner to obtain the `invitationId`. Examples: admin UI surfacing the link, copy-paste into chat, forwarded email, mail-forwarding rules at the recipient's domain, link previews logging the URL, or a custom `sendInvitationEmail` integration that sends to a non-owner channel. If their application set `emailAndPassword: { enabled: true, requireEmailVerification: true }` so unverified rows cannot reach a usable session, they are not affected. Setting `requireEmailVerificationOnInvitation: true` closes `acceptInvitation` and `rejectInvitation`, but `getInvitation` and `listUserInvitations` remain ungated even with that flag. Fix: 1. Upgrade to `[email protected]` or later. 2. If developers cannot upgrade their application, see workarounds below. ### Summary The organization plugin's `acceptInvitation` endpoint trusts an email-string equality check as proof that the session user owns the invited address. With Better Auth's stock `emailAndPassword: { enabled: true }` configuration, `requireEmailVerification` defaults to `false`, so an attacker can sign up a row keyed to `[email protected]` (auto-signed-in, `emailVerified: false`) before the legitimate owner. When an organization admin invites that address, the attacker presents the `invitationId` and accepts the invitation, joining the organization at the invited role. ### Details The recipient gate compares `inv

Properties

severity
high
summary
Better Auth vulnerable to unauthorized invitation acceptance via unverified email match in organization plugin
epss_score
0.00139
cvss_score
7.7
ghsa_published
2026-07-07T20:54:51Z
source_url
https://github.com/advisories/GHSA-fmh4-wcc4-5jm3
ghsa_updated
2026-07-07T20:54:52Z
ghsa_id
GHSA-fmh4-wcc4-5jm3
cve_id
CVE-2026-53514
cvss_vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
is_ghsa_only
false
epss_percentile
0.03767

Related Entities (8)

ENRICHED_BY (1)

[Source]FIRST EPSS

VULNERABLE_TO (1)

[Software]npm/better-auth

AFFECTS (1)

[Software]npm/better-auth

HAS_WEAKNESS (4)

[Weakness]Missing Authorization
[Weakness]Unintended Proxy or Intermediary ('Confused Deputy')
[Weakness]Improper Authentication
[Weakness]Insufficient Verification of Data Authenticity

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-53514 (CVSS 7.7) — Ninja Signal Threat Intelligence | Ninja Signal