{"id":"CVE-2024-30270","aliases":["CVE-2024-30270"],"related":[],"kind":"vulnerability","state":"published","title":"mailcow Path Traversal and Arbitrary Code Execution Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"mailcow: dockerized es un software colaborativo/paquete de correo electrónico de código abierto basado en Docker. Se ha identificado una vulnerabilidad de seguridad en mailcow que afecta a versiones anteriores a 2024-04. Esta vulnerabilidad es una combinación de path traversal y ejecución de código arbitrario, específicamente dirigida a la función `rspamd_maps()`. Permite a los usuarios administradores autenticados sobrescribir cualquier archivo en el que pueda escribir el usuario www-data aprovechando la validación de ruta incorrecta. La cadena de exploits puede conducir a la ejecución de comandos arbitrarios en el servidor. La versión 2024-04 contiene un parche para el problema.","source":"nvd"}],"published":"2024-04-04T20:27:40.370Z","modified":"2026-06-17T07:26:38.643Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L","score":6.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L","score":6.2,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 2024-04","status":"affected"}],"vendor":"mailcow","product":"mailcow-dockerized","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2024-04"}],"vendor":"mailcow","product":"mailcow:_dockerized","cpe":"cpe:2.3:a:mailcow:mailcow\\:_dockerized:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-4m8r-87gc-3vvp","tags":["vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://mailcow.email/posts/2024/release-2024-04","tags":["release-notes","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.sonarsource.com/blog/remote-code-execution-in-mailcow-always-sanitize-error-messages","tags":["exploit","third-party-advisory","x-refsource-misc"],"sources":["cvelist","nvd"]},{"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"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-05T18:05:43.220Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-30270","url":"https://www.cve.org/CVERecord?id=CVE-2024-30270","licence":"CVE Terms of Use","modified":"2024-12-12T20:52:59.248Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-30270","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30270","licence":"Public domain","modified":"2026-06-17T07:26:38.643Z"}],"updatedAt":"2026-11-25T22:58:38.779Z","epss":{"score":0.27346,"percentile":0.98097,"date":"2026-12-01T12:00:22.000Z"}}