7.1Yüksek

CVE-2026-41427Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients

better-auth better-auth; better-auth oauth-provider Yayım: (6 ay önce)

Açıklama

Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.5, the clientPrivileges option documents a create action, but the OAuth client creation endpoints did not invoke the hook before persisting new clients. Deployments that configured clientPrivileges to restrict client registration were not actually restricted — any authenticated user could reach the create endpoints and register an OAuth client with attacker-chosen redirect URIs and metadata. This vulnerability is fixed in 1.6.5.

Zayıflık türü (CWE): CWE-863

Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.

Etkilenen ürünler ve sürümler

ÜreticiÜrünSürümler
better-auth better-auth >= 1.4.8-beta.7, < 1.6.5, >= 1.7.0-beta.0, <= 1.7.0-beta.1
better-auth better-auth/oauth-provider 1.4.9 – < 1.6.5
better-auth oauth-provider >= 1.4.8-beta.7, < 1.6.5, >= 1.7.0-beta.0, <= 1.7.0-beta.1

Kaynaklar ve yamalar

CPE eşleşmeleri (NVD) (4)

  • cpe:2.3:a:better-auth:better-auth\/oauth-provider:*:*:*:*:*:node.js:*:* ≥ 1.4.9 < 1.6.5
  • cpe:2.3:a:better-auth:better-auth\/oauth-provider:1.4.8:-:*:*:*:node.js:*:*
  • cpe:2.3:a:better-auth:better-auth\/oauth-provider:1.4.8:beta7:*:*:*:node.js:*:*
  • cpe:2.3:a:better-auth:better-auth\/oauth-provider:1.7.0:beta0:*:*:*:node.js:*:*