CVE-2024-30270
CVE-2024-30270 is a medium-severity vulnerability in Mailcow with a CVSS 3.x base score of 6.2. Its EPSS exploit-prediction score of 27% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-22.
Key facts
- Severity: Medium (CVSS 3.x base score 6.2)
- EPSS exploit prediction: 27% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-28191
- Weakness: CWE-22
- Affected product: Mailcow
- Published:
- Last modified:
Description
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 is a combination of path traversal and arbitrary code execution, specifically targeting the `rspamd_maps()` function. It allows authenticated admin users to overwrite any file writable by the www-data user by exploiting improper path validation. The exploit chain can lead to the execution of arbitrary commands on the server. Version 2024-04 contains a patch for the issue.
Frequently asked questions
- What is CVE-2024-30270?
- 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 is a combination of path traversal and arbitrary code execution, specifically targeting the `rspamd_maps()` function. It allows authenticated admin users to overwrite any file writable by the www-data user by exploiting improper path validation. The exploit chain can lead to the execution of arbitrary commands on the server. Version 2024-04 contains a patch for the issue.
- How severe is CVE-2024-30270?
- CVE-2024-30270 has a CVSS 3.x base score of 6.2, rated medium severity. It is exploitable over network with high attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2024-30270 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 27% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-30270?
- CVE-2024-30270 affects Mailcow. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-30270?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-30270 have an EU (EUVD) identifier?
- Yes. CVE-2024-30270 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-28191.
- When was CVE-2024-30270 published?
- CVE-2024-30270 was published on 2024-04-04 and last updated on 2026-06-17.
References
- https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-4m8r-87gc-3vvp
- https://mailcow.email/posts/2024/release-2024-04
- https://www.sonarsource.com/blog/remote-code-execution-in-mailcow-always-sanitize-error-messages
- https://www.vicarius.io/vsociety/posts/mailcow-with-xss-and-path-traversal-cve-2024-31204-and-cve-2024-30270
Affected products (1)
- cpe:2.3:a:mailcow:mailcow\:_dockerized:*:*:*:*:*:*:*:*
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-77312 — Critical (CVSS 10.0): Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.8, the earlier CVE-2026-67429…
- CVE-2026-121351 — Critical (CVSS 10.0): Adobe Connect is affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')…
- CVE-2026-121489 — Critical (CVSS 10.0): Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Juneau. The…
- CVE-2026-122013 — Critical (CVSS 10.0): A vulnerability was detected in Comfast CF-WR632AX 2.6.0.1. Affected by this vulnerability is an unknown functionality…
- CVE-2026-61738 — Critical (CVSS 10.0): SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. Prior to…
- CVE-2026-112690 — Critical (CVSS 10.0): This issue was addressed with improved input validation. This issue is fixed in iOS 26.7.2 and iPadOS 26.7.2, iOS 27.2…