# CVE-2024-41958: Two-Factor Authentication (2FA) Bypass in mailcow: dockerized

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A: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): 1.03%, higher than 64% of CVEs (2026-12-01)
- Published: 2024-08-05T19:59:44.744Z
- Modified: 2026-06-17T07:48:31.720Z
- Weaknesses: CWE-697
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mailcow mailcow-dockerized: < 2024-07
- mailcow mailcow:_dockerized: before 2024-07

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-4fcc-q245-qqgg> (third-party-advisory)
- <https://github.com/mailcow/mailcow-dockerized/commit/f33d82ffc11ed3438609d4e7a6baa78cb3305bc3> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-41958 · Whole record: https://cve.day/CVE-2024-41958.json · Rebuilt by cve.day 2026-11-25T22:58:43.799Z
