CVE-2026-41427

Source
https://cve.org/CVERecord?id=CVE-2026-41427
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41427.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-41427
Aliases
Published
2026-04-24T19:23:20Z
Modified
2026-08-12T03:51:21Z
Severity
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41427.json"
}
References

Affected packages

Git / github.com/better-auth/better-auth

Affected ranges

Type
GIT
Repo
https://github.com/better-auth/better-auth
Events
Database specific
Show details
{
    "cpe": [
        "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:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "1.4.9"
        },
        {
            "fixed": "1.6.5"
        },
        {
            "introduced": "1.4.8-NA"
        },
        {
            "last_affected": "1.4.8-NA"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

1.*
1.4.8-NA
v1.*
v1.4.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41427.json"