{"vuln_id":"CVE-2026-134318","aliases":["GHSA-c85h-5mrr-mgx4"],"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.","published_at":"2026-11-21T17:16:52.857000Z","modified_at":"2026-11-21T17:16:52.990000Z","first_seen_at":"2026-11-21T19:15:21.307062Z","severity":"medium","severity_source":"nvd","cvss_score":6.9,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-180"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134318"},"matched_alias":null,"items":[{"id":10322,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-134318: 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 creato…","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.\n\nReferences:\nhttps://github.com/better-auth/better-auth/security/advisories/GHSA-c85h-5mrr-mgx4\nhttps://www.vulncheck.com/advisories/better-auth-1.5.5-before-1.7.16-privilege-escalation-via-padded-invitation-role","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134318","published_at":"2026-11-21T17:16:52.857000Z","updated_at":"2026-11-21T17:16:52.990000Z","fetched_at":"2026-11-21T19:15:31.485811Z","severity":"medium","cvss_score":6.9,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-134318","vuln_ids":["CVE-2026-134318","GHSA-C85H-5MRR-MGX4"],"tags":["CWE-180"],"cluster_id":2861,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10322","html":"https://vulnwatch.ve1ve2.com/item/10322"}},{"id":2778,"source":{"id":"vuldb","name":"VulDB recent entries"},"title":"CVE-2026-134318 | better-auth up to 1.7.15/1.8.0-beta.4 Organization Plugin privileges management","summary":"A vulnerability was found in better-auth up to 1.7.15/1.8.0-beta.4 and classified as problematic. This vulnerability affects unknown code of the component Organization Plugin. Executing a manipulation can lead to improper privilege management.\n\nThis vulnerability appears as CVE-2026-134318. The attack may be performed from remote. There is no available exploit.","url":"https://vuldb.com/vuln/441929","published_at":"2026-11-21T17:13:43Z","updated_at":"2026-11-21T17:13:43Z","fetched_at":"2026-11-21T19:15:21.123137Z","severity":"medium","cvss_score":6.9,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"better-auth","vuln_id":"CVE-2026-134318","vuln_ids":["CVE-2026-134318","GHSA-C85H-5MRR-MGX4"],"tags":["Product: better-auth","Risk: problematic","Physical: No","Local: No","Remote: Yes","Exploit: No","Countermeasures: Unknown"],"cluster_id":2861,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2778","html":"https://vulnwatch.ve1ve2.com/item/2778"}}]}