Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-fmh4-wcc4-5jm3: Better Auth vulnerable to unauthorized invitation acceptance via unverified email match in organization plugin

0
High
Published: 07/07/2026 (07/07/2026, 20:54:51 UTC)
Source: GCVE Database
Product: better-auth

Description

A vulnerability in the better-auth library's organization plugin allows an attacker to accept an organization invitation without verifying email ownership. This occurs when the application permits unverified email sign-ups and does not enforce email verification on invitation acceptance. An attacker who obtains the invitation ID and registers an unverified account with the victim's email can join the organization with the invited role. The issue is fixed in better-auth version 1.6.11 by requiring email verification on all invitation-related endpoints by default.

CVSS v3.1

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected software

npmghsa
better-auth
Affected versions
<1.6.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 13:45:09 UTC

Technical Analysis

The better-auth organization plugin's acceptInvitation endpoint relies on a simple email string equality check to verify invitation ownership, without requiring email verification by default. If an application allows unverified email sign-ups (emailAndPassword enabled without requireEmailVerification) and does not set requireEmailVerificationOnInvitation to true, an attacker can pre-register an unverified account with the victim's email address. When the organization admin invites that email, the attacker can use the leaked invitationId to accept the invitation and join the organization. The fix in [email protected] enforces emailVerified checks on acceptInvitation, rejectInvitation, getInvitation, and listUserInvitations endpoints and defaults requireEmailVerificationOnInvitation to true, preventing this attack vector.

Potential Impact

An attacker can perform an account takeover on the organization invitation surface by pre-registering an unverified account with the victim's email and using a leaked invitationId to accept the invitation. This allows unauthorized joining of the organization with the invited role, potentially leading to unauthorized access and privilege escalation within the organization.

Mitigation Recommendations

Upgrade to better-auth version 1.6.11 or later, which enforces email verification on all invitation endpoints by default. If immediate upgrade is not possible, set the organization plugin option requireEmailVerificationOnInvitation to true to block acceptInvitation and rejectInvitation calls from unverified sessions. Additionally, enable requireEmailVerification in emailAndPassword configuration or remove email/password sign-up to prevent unverified account creation. Middleware can also be added to enforce emailVerified status on invitation routes. Note that requireEmailVerificationOnInvitation does not gate getInvitation and listUserInvitations endpoints unless upgraded.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-fmh4-wcc4-5jm3
Osv Schema Version
1.4.0
Aliases
["CVE-2026-53514"]
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a4e4ef7c9d9e3dbe328cc1c

Added to database: 07/08/2026, 13:21:59 UTC

Last enriched: 07/08/2026, 13:45:09 UTC

Last updated: 07/08/2026, 13:45:09 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses