CVE-2026-53514: Better Auth vulnerable to unauthorized invitation acceptance via unverified email match in organization plugin
(updated )
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 victim@target.example (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.
References
- github.com/advisories/GHSA-fmh4-wcc4-5jm3
- github.com/better-auth/better-auth/commit/23094a628f007f801be6d26e5b15dc5fc6fc4eb8
- github.com/better-auth/better-auth/pull/9577
- github.com/better-auth/better-auth/releases/tag/v1.6.11
- github.com/better-auth/better-auth/security/advisories/GHSA-fmh4-wcc4-5jm3
- nvd.nist.gov/vuln/detail/CVE-2026-53514
Code Behaviors & Features
Detect and mitigate CVE-2026-53514 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →