{
  "id": "CVE-2026-41427",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-41427",
  "published_at": "2026-04-24T19:23:20.161Z",
  "title": "Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients",
  "vendor": "better-auth",
  "product": "better-auth",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-863",
  "cpes": [
    "cpe:2.3:a:better-auth:better-auth\\/oauth-provider:*:*:*:*:*:node.js:*:*",
    "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:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1,
    "nvd": 6.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "better-auth",
        "product": "better-auth",
        "ranges": [
          "\u003e= 1.4.8-beta.7, \u003c 1.6.5",
          "\u003e= 1.7.0-beta.0, \u003c= 1.7.0-beta.1"
        ],
        "fixed_in": [
          "1.6.5"
        ]
      },
      {
        "vendor": "better-auth",
        "product": "oauth-provider",
        "ranges": [
          "\u003e= 1.4.8-beta.7, \u003c 1.6.5",
          "\u003e= 1.7.0-beta.0, \u003c= 1.7.0-beta.1"
        ],
        "fixed_in": [
          "1.6.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade better-auth to 1.6.5 or later.",
      "Upgrade oauth-provider to 1.6.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/better-auth/better-auth/security/advisories/GHSA-xr8f-h2gw-9xh6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
