Servers and applications
CVE-2026-31835
Vaultwarden: WebAuthn assertion processed before signature verification allows persistent credential backup-flag tampering
- Severity
- Medium 5.3
- Published
- 25 Apr 2026
- Last changed
- 25 Jul 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 1.35.5
- Exploit chance
- 0.2% in the next 30 daysHigher than 4% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Slow it down
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X- Also known as
- GHSA-x7g7-cgx5-jhx2
- Sources
- NVD, Project advisories (GitHub)
Description
Vaultwarden updates persistent WebAuthn credential metadata based on unverified authenticatorData before signature validation during the WebAuthn authentication flow.
An attacker who knows a user's password but cannot produce a valid WebAuthn signature can still permanently modify the stored backup_eligible and backup_state flags for that user's credential.
This can result in permanent denial of service of WebAuthn 2FA for affected credentials.
In validate_webauthn_login()
check_and_update_backup_eligible() parses rsp.response.authenticator_data and updates the stored WebAuthn registration before calling finish_passkey_authentication()
The function extracts the Backup Eligible (BE) and Backup State (BS) flags directly from the unverified authenticatorData and persists them to the database.
However, finish_passkey_authentication() performs signature validation only afterward.
If signature verification fails, the database update is not rolled back.
Affected software
| Software | Affected versions |
|---|---|
VaultwardenServers and applications · cpe:a:dani-garcia:vaultwarden |
|
VaultwardenServers and applications · github:dani-garcia/vaultwarden |
|
About Vaultwarden
Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
- Docker Hub pulls
- 361,463,423Docker Hub, 15 Nov 2026
- GitHub stars
- 70,745GitHub, 15 Nov 2026
- Forks
- 3,457GitHub, 15 Nov 2026
- Latest release
- 1.37.5GitHub, 15 Nov 2026
- Released
- 1 Nov 2026GitHub
- License
- AGPL-3.0GitHub
- First published on GitHub
- 17 Feb 2018GitHub
Vulnerabilities in Vaultwarden
- In our list
- 41
- Published in the last 12 months
- 31
- Critical, last 12 months
- 1
- High, last 12 months
- 8
- Known exploited
- 0
- GHSA-7ccc-c43j-4p36Organization member can move personal items into an organization without collection accessMedium 4.3 28 Oct 2026
- GHSA-69q9-v8p6-xvx3Revoked or unconfirmed organization member retains read and delete access to organization ciphersHigh 8.1 28 Oct 2026
- GHSA-q5x6-grh5-fqgcUnbounded client-declared attachment fileSize causes an out-of-bounds panic that permanently breaks vault sync for every user who can see the cipherMedium 6.5 28 Oct 2026
- GHSA-v576-3wvq-xh3cLoop-carried user_created flag in send_invite deletes a pre-existing user's account and entire vault when an invite e-mail failsMedium 6.8 28 Oct 2026
- GHSA-64mc-4p6f-r7x9Revoked or unconfirmed organization Admin can read cipher audit logsMedium 4.3 28 Oct 2026
- GHSA-qwx4-wcv4-mpcvOrganization Admin can revoke and delete Owners through an Admin-mintable organization API keyLow 3.8 28 Oct 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-31835
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-31835
- GitHub Advisory Database https://github.com/advisories/GHSA-x7g7-cgx5-jhx2
- github.com https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-x7g7-cgx5-jhx2