CVE-2026-31835 PUBLISHED

Vaultwarden WebAuthn credential metadata tampered before signature verification

Assigner: GitHub_M
Reserved: 09.03.2026 Published: 05.05.2026 Updated: 05.05.2026

Vaultwarden is a Bitwarden-compatible server written in Rust. In versions 1.35.4 and earlier, the WebAuthn authentication flow in validate_webauthn_login() updates persistent credential metadata (1backup_eligible1 and 1backup_state flags1) based on unverified authenticatorData before signature validation is performed. An attacker who knows a user's password but cannot produce a valid WebAuthn signature can permanently modify the stored backup flags for that user's credential. If signature verification fails, the database update is not rolled back. This can result in a persistent denial of service of WebAuthn two-factor authentication for affected credentials. This issue has been fixed in version 1.35.5.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 5.3

Product Status

Vendor dani-garcia
Product vaultwarden
Versions
  • Version < 1.35.5 is affected

References

Problem Types

  • CWE-345: Insufficient Verification of Data Authenticity CWE