CVE-2026-134318
Deferred
Deferred - Pending Action
Privilege Escalation in Better-Auth via Padded Role Injection
Vulnerability report for CVE-2026-134318, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-21
Last updated on: 2026-11-21
Assigner: VulnCheck
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| better-auth | better-auth | to 1.7.16 (exc) |
| better-auth | better-auth | to 1.8.0-beta.0 (exc) |
| better-auth | better-auth | From 1.8.0-beta.5 (exc) |
| better-auth | better-auth | From 1.5.5 (inc) to 1.7.16 (exc) |
| better-auth | better-auth | From 1.8.0-beta.0 (inc) to 1.8.0-beta.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-180 | The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the canonicalization step. |