Intel

AIKIDO-2026-308679

@better-auth/passkey is vulnerable to Origin Validation Error

GHSA-gv75-j3v8-3crmPublished 3 days ago
November 4, 2026

31

CVE Score

Low

Origin Validation Error

Are you affected? Scan for Free

TL;DR

The Better Auth passkey plugin accepts the request origin instead of checking it against a configured WebAuthn origin, and does not enforce required user verification. This can allow passkey responses from unintended origins under the same relying party ID, or passkey use without the required PIN or biometric check. Registration still requires signing in to the account.

How do I fix this?

Upgrade @better-auth/passkey to the patch version. Set the origin option when rpID is set and covered by a wildcard in baseURL.allowedHosts.

Who does this affect?

You are affected if you use @better-auth/passkey within the vulnerable range and either set authenticatorSelection.userVerification to "required", or your relying party ID covers origins you do not control, such as sibling subdomains. The default "preferred" setting allows responses without user verification by design.

Versions

1.4.0 - 1.7.15

Fixed in 1.7.16

Background info

@better-auth/passkey is vulnerable to Origin Validation Error in versions 1.4.0 - 1.7.15.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea