Intel

AIKIDO-2026-589850

web-auth/webauthn-lib is vulnerable to Improper Input Validation

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 6 days ago
November 4, 2026

37

CVE Score

Low

Improper Input Validation

Are you affected? Scan for Free

TL;DR

Before the fix, WebauthnAuthenticationCollector accepted both webauthn.get and webauthn.create client data types in either ceremony, so a client submitting a registration response during authentication, or the reverse, passed the type check and the ceremony continued; with the "none" attestation format nothing signs the client data, leaving the type as the only distinguishing check. Any client able to submit WebAuthn responses to the relying party could do this, though challenge, origin and (for assertions) signature checks still applied. The fix derives the expected type from the ceremony's options and rejects every other type.

How do I fix this?

Upgrade the web-auth/webauthn-lib package to 5.3.11 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and verify WebAuthn attestation or assertion responses from clients that control the client data type field.

Versions

4.8.0 - 5.3.10

Fixed in 5.3.11

Background info

web-auth/webauthn-lib is vulnerable to Improper Input Validation in versions 4.8.0 - 5.3.10.

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