Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-134318 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

better-auth 1.5.5 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains a privilege escalation vulnerability in the organization plugin, where the creator role check compares the raw invitation role string while later checks trim it. Admins or other non-creator roles that can invite can submit a padded role such as " owner" that becomes owner on acceptance, allowing deletion of the organization and removal of original owners.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-180Incorrect Behavior Order: Validate Before Canonicalize[email protected]

Affected Products

ProductVersions
better-auth
>= 1.5.5, < 1.7.16 (semver)
>= 1.8.0-beta.0, < 1.8.0-beta.5 (semver)

CPE

  • cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*

Remediation

  • Upgrade: 1.7.16moderate effort
  • Upgrade: 1.8.0-beta.5moderate effort
  • Workaround:low effort

    Remove the invite permission from every role except the creator role.

  • Workaround:low effort

    Reject invitation roles with leading or trailing whitespace before they reach Better Auth.

Change History

1 change record found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-134318
NVD Published Date:
Nov 21, 2026
NVD Last Modified:
Nov 21, 2026
Source:
[email protected]
CVE-2026-134318 Details - Not Deferred