Better Auth: Unauthorized invitation acceptance via unverified email match in organization plugin (better-auth better-auth)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % · percentile 10 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
Description
Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, and in 1.6.14 and later when invitation IDs can be obtained outside the invited mailbox and requireEmailVerificationOnInvitation: true is not enabled, the organization plugin's acceptInvitation, rejectInvitation, getInvitation, and listUserInvitations recipient endpoints use session.user.email and an invitation ID without sufficient verified-email ownership proof, allowing a user with an unverified session for the invited email address to accept an organization invitation after obtaining the invitation ID. This issue is fixed for the original default behavior in version 1.6.11, while 1.6.14 restored compatibility for built-in opaque invitation IDs and leaves affected configurations requiring secure options.
Weaknesses (CWE)
- CWE-287 — Improper Authentication
- CWE-345 — Insufficient Verification of Data Authenticity
- CWE-441 — Unintended Proxy or Intermediary
- CWE-862 — Missing Authorization
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N | GitHub_M |
| CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-fmh4-wcc4-5jm3 — Better Auth vulnerable to unauthorized invitation acceptance via unverified email match in organization plugin
European references
- ENISA EUVD · EUVD-2026-44742
- GCVE · GCVE-0-2026-53514
Affected configurations (NVD CPE)
cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*< 1.6.11cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*≥ 1.6.14
Affected products
| Product | Versions |
|---|---|
| better-auth · better-auth | affected < 1.6.11 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |