WebAuthn Authentication Flaw in Vaultwarden Affects User Credentials
CVE-2026-31835
What is CVE-2026-31835?
A vulnerability in Vaultwarden, a Bitwarden-compatible server, affects the WebAuthn authentication process. In versions 1.35.4 and earlier, the validate_webauthn_login() function improperly updates persistent credential metadata based on unverified authenticatorData before confirming the validity of the signature. This allows an attacker who knows a user's password, but cannot provide a valid WebAuthn signature, to permanently change the backup flags for that user's credential. When signature verification fails, the database update is not rolled back, potentially causing a persistent denial of service for WebAuthn two-factor authentication for affected users. This vulnerability poses significant risks to credential security and user access, and has been resolved in version 1.35.5.
Affected Version(s)
vaultwarden < 1.35.5
