{"id":"CVE-2024-35179","aliases":["CVE-2024-35179"],"related":[],"kind":"vulnerability","state":"published","title":"Unprivileged Stalwart Mail Server user can read files as root","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Stalwart Mail Server es un servidor de correo de código abierto. Antes de la versión 0.8.0, al usar `RUN_AS_USER`, el usuario especificado (y, por lo tanto, los administradores de la interfaz web) pueden leer archivos arbitrarios como root. Este problema afecta a los administradores que han configurado la ejecución de stalwart con `RUN_AS_USER` y que han entregado credenciales de administrador al servidor de correo, pero esperan que estas solo otorguen acceso de acuerdo con `RUN_AS_USER` y son atacados cuando los atacantes lograron ejecutar código arbitrario utilizando otra vulnerabilidad. La versión 0.8.0 contiene un parche para el problema.","source":"nvd"}],"published":"2024-05-15T15:55:28.261Z","modified":"2026-06-17T07:34:29.600Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-271"],"affected":[{"ranges":[{"version":"< 0.8.0","status":"affected"}],"vendor":"stalwartlabs","product":"mail-server","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.8.0","status":"affected"}],"vendor":"stalwartlabs","product":"mail-server","cpe":"cpe:2.3:a:stalwartlabs:mail-server:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-5pfx-j27j-4c6h","tags":["x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-05-15T18:11:30.074Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35179","url":"https://www.cve.org/CVERecord?id=CVE-2024-35179","licence":"CVE Terms of Use","modified":"2024-08-02T03:07:46.933Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35179","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35179","licence":"Public domain","modified":"2026-06-17T07:34:29.600Z"}],"updatedAt":"2026-11-25T22:58:40.385Z","epss":{"score":0.00621,"percentile":0.51124,"date":"2026-12-01T12:00:22.000Z"}}