All vulnerabilities

Servers and applications

CVE-2026-27801

2FA Bypass on Protected Actions due to Faulty Rate Limit Enforcement

Severity
Medium 6.0
Published
4 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.35.0
Exploit chance
0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
No limit on authentication attempts (CWE-307)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read some data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/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-v6pg-v89r-w8wr
Sources
NVD, Project advisories (GitHub)

Description

Vaultwarden v1.34.3 and prior are susceptible to a 2FA bypass when performing protected actions. An attacker who gains authenticated access to a user’s account can exploit this bypass to perform protected actions such as accessing the user’s API key or deleting the user’s vault and organisations the user is an admin/owner of.

Note that

Within Vaultwarden, the PasswordOrOtpData struct is used to gate certain protected actions such as account deletion behind a 2FA validation. This validation requires the user to either re-enter their master password, or to enter a one-time passcode sent to their email address.

By default, the one-time passcode is comprised of six digits, and the expiry time for each token is ten minutes. The validation of this one-time passcode is performed by the following function:

Since the one-time passcode is only six-digits long, it has significantly less entropy than a typical password or secret key.

From dani-garcia/vaultwarden's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
VaultwardenServers and applications · cpe:a:dani-garcia:vaultwarden
  • Every version before 1.35.0
VaultwardenServers and applications · github:dani-garcia/vaultwarden
  • Version 1.34.3

About Vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs

From its GitHub repository.
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

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-27801
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-27801
  • GitHub Advisory Database https://github.com/advisories/GHSA-v6pg-v89r-w8wr
  • github.com https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-v6pg-v89r-w8wr