CVE-2024-41958
Mailcow\ _dockerized
Raw vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-41958 is a medium-severity Incorrect Comparison (CWE-697) vulnerability in Mailcow\. Its CVSS base score is 6.6 (Medium).
Operationally, ranked in the top 35% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and AC-25 (Reference Monitor) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
mailcow: dockerized, an open source groupware and email suite based on Docker, contains a flaw in its two-factor authentication mechanism. The vulnerability allows an authenticated attacker to bypass 2FA checks and obtain access to other accounts that are otherwise protected by 2FA.
Exploitation requires the attacker to already hold valid credentials for both an account under their control and a target account that has 2FA enabled. With those credentials the attacker can circumvent the 2FA process and reach the protected account. The issue is rated 6.6 under CVSS 3.1.
The flaw was corrected in the 2024-07 release. Administrators are advised to upgrade, as the project states that no workarounds exist. Further information is provided in the GitHub security advisory GHSA-4fcc-q245-qqgg and the referenced commit. The EPSS score has remained flat at 0.3031 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-39292
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and evaluation directly exercises security-relevant comparisons to discover incorrect logic.
A reference monitor must be small and correct, structurally limiting the chance of flawed comparison logic in authorization decisions.
Security engineering principles require correct implementation of comparison logic used for access and authentication decisions.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect incorrect comparison flaws before deployment.
Training raises developer awareness of common comparison pitfalls (wrong boolean operators, missing factors, non-constant-time checks, using attacker-controlled lengths), reducing a minority of instances, but the defect lives in the code itself and fallible human practice cannot prevent most of it.
Secure coding standards directly address avoiding incorrect comparison operators and logic.
A.8.30 carries secure coding practice (8.28) into the supplier relationship via contractual requirements, which reduces the incidence of implementation-phase code defects like incorrect comparisons, but the effect is mediated through a fallible human practice and the clause's own ceiling on this verb is partial.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-697, a pillar-level weakness, and none of its children carries one either.