{"id":"CVE-2026-134318","aliases":["CVE-2026-134318"],"related":[],"kind":"vulnerability","state":"published","title":"better-auth 1.5.5 before 1.7.16 Privilege Escalation via Padded Invitation Role","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-21T16:34:50.515Z","modified":"2026-11-23T16:17:31.403Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-180"],"affected":[{"ranges":[{"type":"semver","introduced":"1.5.5","fixed":"1.7.16","status":"affected"},{"type":"semver","version":"1.7.16","status":"unaffected"}],"vendor":"better-auth","product":"better-auth","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.8.0-beta.0","fixed":"1.8.0-beta.5","status":"affected"},{"type":"semver","version":"1.8.0-beta.5","status":"unaffected"}],"vendor":"better-auth","product":"better-auth","source":"cvelist"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-c85h-5mrr-mgx4","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/better-auth-1.5.5-before-1.7.16-privilege-escalation-via-padded-invitation-role","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["iabdullah215","0xaudron"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-23T16:00:35.873Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134318","url":"https://www.cve.org/CVERecord?id=CVE-2026-134318","licence":"CVE Terms of Use","modified":"2026-11-23T16:00:45.119Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134318","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134318","licence":"Public domain","modified":"2026-11-23T16:17:31.403Z"}],"updatedAt":"2026-11-25T22:59:52.541Z","epss":{"score":0.00453,"percentile":0.41073,"date":"2026-12-01T12:00:22.000Z"}}