1. Archivio CVE
  2. 2026
  3. CVE-2026-134318

CVE-2026-134318

4.9 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N 4.9 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
better-auth better auth >= 1.5.5 < 1.7.16 –
better-auth better auth >= 1.8.0-beta.0 < 1.8.0-beta.5 –
Tutte le 27 vulnerabilità di Better-auth Better Auth

Tipo di vulnerabilità

CWE-180 Incorrect Behavior Order: Validate Before Canonicalize

The product validates input before it is canonicalized.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Sviluppo · Validazione dell’input Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 47 CVE di tipo CWE-180, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org