CVE-2026-31835
JSON

5.3medium

Vaultwarden WebAuthn credential metadata tampered before signature verification

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
dani-garcia vaultwarden< 1.35.5, before 1.35.5CVE List, NVD

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Classification

CWE-345

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Vaultwarden es un servidor compatible con Bitwarden escrito en Rust. En las versiones 1.35.4 y anteriores, el flujo de autenticación WebAuthn en 'validate_webauthn_login()' actualiza los metadatos de credenciales persistentes (1backup_eligible1 y 1backup_state flags1) basados en 'authenticatorData' no verificado antes de que se realice la validación de la firma. Un atacante que conoce la contraseña de un usuario pero no puede producir una firma WebAuthn válida puede modificar permanentemente los indicadores de respaldo almacenados para la credencial de ese usuario. Si la verificación de la firma falla, la actualización de la base de datos no se revierte. Esto puede resultar en una denegación de servicio persistente de la autenticación de dos factores de WebAuthn para las credenciales afectadas. Este problema ha sido solucionado en la versión 1.35.5.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31835 changed 2026-05-06CVE Terms of Use
NVDCVE-2026-31835 changed 2026-07-25Public domain