What’s Vulnerable › Vulnerabilities
CVE-2026-31835: Vaultwarden WebAuthn credential metadata tampered before signature verification
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-05-05 · updated 2026-07-25
- Weakness: CWE-345
Description
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.
Affected products
- dani-garcia vaultwarden: before 1.35.5 — fixed in 1.35.5
How to fix
Upgrade to a fixed version: dani-garcia vaultwarden 1.35.5. Check the vendor advisory for mitigations.
References
- https://github.com/dani-garcia/vaultwarden/releases/tag/1.35.5
- https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-x7g7-cgx5-jhx2
- https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-x7g7-cgx5-jhx2
Get alerted when CVE-2026-31835 or the next vulnerability affects your stack