# CVE-2026-31835: Vaultwarden WebAuthn credential metadata tampered before signature verification

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T18:51:35.457Z
- Modified: 2026-07-25T11:10:00.100Z
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- dani-garcia vaultwarden: < 1.35.5; before 1.35.5

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-x7g7-cgx5-jhx2> (exploit, vendor-advisory)
- <https://github.com/dani-garcia/vaultwarden/releases/tag/1.35.5> (product, release-notes)

## Sources

- CVE List: [CVE-2026-31835](https://www.cve.org/CVERecord?id=CVE-2026-31835), CVE Terms of Use, modified 2026-05-06
- NVD: [CVE-2026-31835](https://nvd.nist.gov/vuln/detail/CVE-2026-31835), Public domain, modified 2026-07-25

---

Page: https://cve.day/CVE-2026-31835 · Whole record: https://cve.day/CVE-2026-31835.json · Rebuilt by cve.day 2026-11-25T22:59:20.629Z
