What’s Vulnerable › Vulnerabilities
CVE-2024-41958: Two-Factor Authentication (2FA) Bypass in mailcow: dockerized
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-05 · updated 2026-06-17
- Weakness: CWE-697
Description
mailcow: dockerized is an open source groupware/email suite based on docker. A vulnerability has been discovered in the two-factor authentication (2FA) mechanism. This flaw allows an authenticated attacker to bypass the 2FA protection, enabling unauthorized access to other accounts that are otherwise secured with 2FA. To exploit this vulnerability, the attacker must first have access to an account within the system and possess the credentials of the target account that has 2FA enabled. By leveraging these credentials, the attacker can circumvent the 2FA process and gain access to the protected account. This issue has been addressed in the `2024-07` release. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- mailcow-dockerized: before 2024-07 — fixed in 2024-07
How to fix
Upgrade to a fixed version: mailcow-dockerized 2024-07. Check the vendor advisory for mitigations.
References
- https://github.com/mailcow/mailcow-dockerized/commit/f33d82ffc11ed3438609d4e7a6baa78cb3305bc3
- https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-4fcc-q245-qqgg
Get alerted when CVE-2024-41958 or the next vulnerability affects your stack