{"id":"CVE-2024-30270","aliases":["EUVD-2024-28191","GHSA-4m8r-87gc-3vvp"],"status":"published","title":"mailcow Path Traversal and Arbitrary Code Execution Vulnerability","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.","severity":{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.27346,"percentile":0.98086,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-22"],"published":"2024-04-04T20:27:40Z","modified":"2026-10-28T02:30:53Z","exploits":[{"source":"pocgithub","id":"Alchemist3dot14/CVE-2024-30270-PoC","title":"Alchemist3dot14/CVE-2024-30270-PoC","date":"2024-06-21","url":"https://github.com/Alchemist3dot14/CVE-2024-30270-PoC"}],"products":[{"vendor":"mailcow","product":"mailcow-dockerized"},{"vendor":"mailcow","product":"mailcow\\"}],"references":[{"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-4m8r-87gc-3vvp","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://mailcow.email/posts/2024/release-2024-04","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://www.sonarsource.com/blog/remote-code-execution-in-mailcow-always-sanitize-error-messages","tags":["x_refsource_MISC","Exploit","Third Party Advisory","article"]},{"url":"https://www.vicarius.io/vsociety/posts/mailcow-with-xss-and-path-traversal-cve-2024-31204-and-cve-2024-30270","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/30xxx/CVE-2024-30270.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30270","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-30270","title":"mailcow Path Traversal and Arbitrary Code Execution Vulnerability","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.","status":"published","published":"2024-04-04T20:27:40.37Z","modified":"2024-12-12T20:52:59.248Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:07.482552Z"}],"euvd":[{"id":"EUVD-2024-28191","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.","status":"published","published":"2024-04-04T20:27:40Z","modified":"2024-12-12T20:52:59Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L","level":"medium"}],"updated_at":"2026-11-03T00:04:36.024922Z"}],"nvd":[{"id":"CVE-2024-30270","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.","status":"published","published":"2024-04-04T21:15:16.577Z","modified":"2026-06-17T07:26:38.643Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:09:48.152273Z"}],"osv":[{"id":"CVE-2024-30270","title":"mailcow Path Traversal and Arbitrary Code Execution Vulnerability","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.","status":"published","published":"2024-04-04T20:27:40.37Z","modified":"2026-10-28T02:30:53.90084793Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:40.06138Z"}]}}
