Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. better-auth
  4. ›
  5. CVE-2026-53514

CVE-2026-53514: Better Auth vulnerable to unauthorized invitation acceptance via unverified email match in organization plugin

July 7, 2026 (updated July 20, 2026)

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 →

Affected versions

All versions before 1.6.11

Fixed versions

  • 1.6.11

Solution

Upgrade to version 1.6.11 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-345: Insufficient Verification of Data Authenticity
  • CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
  • CWE-862: Missing Authorization

Source file

npm/better-auth/CVE-2026-53514.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:11 +0000.