{"id":"CVE-2024-35179","summary":"Unprivileged Stalwart Mail Server user can read files as root","details":"Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, when using `RUN_AS_USER`, the specified user (and therefore, web interface admins) can read arbitrary files as root. This issue affects admins who have set up to run stalwart with `RUN_AS_USER` who handed out admin credentials to the mail server but expect these to only grant access according to the `RUN_AS_USER` and are attacked where the attackers managed to achieve Arbitrary Code Execution using another vulnerability. Version 0.8.0 contains a patch for the issue.","aliases":["GHSA-5pfx-j27j-4c6h"],"modified":"2026-03-14T12:34:07.990187Z","published":"2024-05-15T15:55:28.261Z","database_specific":{"cwe_ids":["CWE-271"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35179.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35179.json"},{"type":"ADVISORY","url":"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-5pfx-j27j-4c6h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35179"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/stalwartlabs/mail-server","events":[{"introduced":"0"},{"fixed":"d4327af3add914032cfb1bf737b835181e9e08dc"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.8.0"}]}}],"versions":["v0.3.0","v0.3.1","v0.3.10","v0.3.2","v0.3.3","v0.3.4","v0.3.5","v0.3.6","v0.3.7","v0.3.8","v0.3.9","v0.4.0","v0.4.1","v0.4.2","v0.5.0","v0.5.1","v0.5.2","v0.5.3","v0.6.0","v0.7.0","v0.7.1","v0.7.2","v0.7.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35179.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"}]}