CVE-2026-134318
published medium CVSS 4.0 · 6.9better-auth 1.5.5 before 1.7.16 Privilege Escalation via Padded Invitation Role
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| better-auth | — | better-auth1.5.5 to < 1.7.16 (affected · semver) · 1.7.16 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| better-auth | — | better-auth1.8.0-beta.0 to < 1.8.0-beta.5 (affected · semver) · 1.8.0-beta.5 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| better-auth | better-auth | 1.5.5 to < 1.7.16 (affected · semver)1.7.16 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| better-auth | better-auth | 1.8.0-beta.0 to < 1.8.0-beta.5 (affected · semver)1.8.0-beta.5 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-180 Incorrect Behavior Order: Validate Before Canonicalize
References
2- GitHub Security Advisory (GHSA-c85h-5mrr-mgx4) https://github.com/better-auth/better-auth/security/advisories/GHSA-c85h-5mrr-mgx4
- VulnCheck Advisory: better-auth 1.5.5 before 1.7.16 Privilege Escalation via Padded Invitation Role https://www.vulncheck.com/advisories/better-auth-1.5.5-before-1.7.16-privilege-escalation-via-padded-invitation-role
Provider assertions
2VulnCheck · cna
better-auth 1.5.5 before 1.7.16 Privilege Escalation via Padded Invitation Role
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 18df46d623452131728759e52471cb570fcec59be57c27dc269d1bc3a625b568
- Ingested
- 23 Nov 2026, 16:04:29 UTC
- Source record
- Official CVE record