CVE-2024-35179
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.8
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- EPSS probability
- 0.62%
- CWE
- CWE-271
- Published
- 2024-05-15
- Last modified
- 2026-03-13
Affected products
- stalwartlabs mail-server
Weakness type
Related vulnerabilities
- CVE-2026-44477 — CloudNativePG: Metrics exporter allows privilege escalation to PostgreSQL superuser and OS RCE
- CVE-2026-35535 — In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a...
- CVE-2026-25704 — Incomplete privilege drop for com.system76.CosmicGreeter.GetUserData
- CVE-2025-53819 — Nix's privilege dropping to build user broke for macOS
- CVE-2025-23395 — Local root exploit via `logfile_reopen()` in screen 5.0.0 with setuid-root bit set
- CVE-2024-0985 — PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY executes arbitrary SQL
- CVE-2023-38496 — Apptainer's ineffective privileges drop when requesting container network
- CVE-2023-22648 — A Improper Privilege Management vulnerability in SUSE Rancher causes permission changes in Azure AD...