CVE-2024-35179
published medium CVSS 3.1 · 6.8Unprivileged Stalwart Mail Server user can read files as root
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| stalwartlabs | mail-server | < 0.8.0 (affected) | GitHub_M · cna |
| stalwartlabs | mail-server | 0 to < 0.8.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-271 CWE-271: Privilege Dropping / Lowering Errors
References
1Provider assertions
3GitHub_M · cna
Unprivileged Stalwart Mail Server user can read files as root
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ea3d471a50b7c9a6819b37d7c2d307d415a5ce7a95a4af9335e4d8f1440312a5
- Ingested
- 23 Sep 2026, 08:23:37 UTC
- Source record
- Official CVE record