Description
@better-auth/passkey 1.4.0-beta.16 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5, and the passkey plugin in better-auth 1.2.0-beta.18 before 1.4.0, do not confirm WebAuthn user verification when userVerification is "required" and take the expected origin from the request instead of configuration. Users can register or use passkeys without the required PIN or biometric check, and passkey responses created on another origin under the same relying party ID may be accepted.
Affected products and versions
better-auth passkey1.4.0-beta.16 – < 1.7.16Fixed in: 1.7.16
better-auth passkey1.8.0-beta.0 – < 1.8.0-beta.5Fixed in: 1.8.0-beta.5
better-auth passkey1.2.0-beta.18 – < 1.4.0Fixed in: 1.4.0
CVSS vector, explained
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-346 Origin Validation Error
References
- github.com/better-auth/better-auth/security/advisories/GHSA-gv75-j3v8-3crm vendor advisory
- www.vulncheck.com/advisories/better-auth-passkey-before-1.7.16-improper-origin-and-user-ve
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.