CVE-2024-31204: mailcow: dockerized is an open source groupware/email suite based on docker
CVE-2024-31204 is a medium-severity flaw (CVSS 6.1) affecting mailcow\. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
mailcow: dockerized is an open source groupware/email suite based on docker. A security vulnerability has been identified in mailcow affecting versions prior to 2024-04. This vulnerability resides in the exception handling mechanism, specifically when not operating in DEV_MODE. The system saves exception details into a session array without proper sanitization or encoding. These details are later rendered into HTML and executed in a JavaScript bl
Why this priority
- EPSS top 5%: very likely to be exploited
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Adjacent network |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 8.2% (top 5%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-04-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-31204?
mailcow\: upgrade to 2024-04. Exact commands for each OS are on this page.
Is CVE-2024-31204 being exploited?
CVE-2024-31204 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-31204 affect?
CVE-2024-31204 affects mailcow\. Severity is medium (CVSS 6.1). mailcow: dockerized is an open source groupware/email suite based on docker. A security vulnerability has been identified in mailcow affecting versions prior to 2024-04. This vulnerability resides in the exception handling mechanism, specif
How urgent is CVE-2024-31204?
Priority 55/100. EPSS top 5%: very likely to be exploited; Public exploit reference; On your watchlist
Software pages
Related CVEs
- CVE-2025-53909 CRITICAL 9.1 UPGRADE mailcow: dockerized is an open source groupware/email suite based on docker
- CVE-2025-25198 HIGH 7.1 UPGRADE mailcow: dockerized is an open source groupware/email suite based on docker
- CVE-2024-41960 LOW 3.8 UPGRADE mailcow: dockerized is an open source groupware/email suite based on docker
- CVE-2024-41959 HIGH 7.6 UPGRADE mailcow: dockerized is an open source groupware/email suite based on docker
- CVE-2024-41958 MEDIUM 6.6 UPGRADE mailcow: dockerized is an open source groupware/email suite based on docker