{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-30270","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 ex","descriptionLong":"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.","published":"2024-04-04T20:27:40.370Z","updated":"2026-10-28T02:30:53.900847930Z","reserved":"2024-03-26T12:52:00.935Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"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","rating":"medium","source":"GitHub_M"},"metrics":[{"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","rating":"medium","source":"GitHub_M"},{"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","rating":"medium","source":"github.com"},{"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","rating":"medium","source":"OSV"}],"rating":"medium","products":["mailcow-dockerized"],"affectedProducts":[{"vendor":"mailcow","product":"mailcow-dockerized","defaultStatus":null,"versions":[{"version":"< 2024-04","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":["GHSA-4m8r-87gc-3vvp"],"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"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.27346,"epssPercentile":0.981,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-30270","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30270","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-30270","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-30270","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}