CVE-2024-35187
published critical CVSS 3.1 · 9.1Stalwart Mail Server has privilege escalation by design
Package status and fixes
Description
Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, attackers who achieved Arbitrary Code Execution as the stalwart-mail user (including web interface admins) can gain complete root access to the system. Usually, system services are run as a separate user (not as root) to isolate an attacker with Arbitrary Code Execution to the current service. Therefore, other system services and the system itself remains protected in case of a successful attack. stalwart-mail runs as a separate user, but it can give itself full privileges again in a simple way, so this protection is practically ineffective. Server admins who handed out the admin credentials to the mail server, but didn't want to hand out complete root access to the system, as well as any attacked user when the attackers gained Arbitrary Code Execution using another vulnerability, may be vulnerable. 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
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
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-863 CWE-863: Incorrect Authorization
References
1Provider assertions
3GitHub_M · cna
Stalwart Mail Server has privilege escalation by design
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4d3c0d65ec5e3f1affa9c37f189fcf50657fc00a29fc8bae808b8e2e466d33b6
- Ingested
- 23 Sep 2026, 08:23:37 UTC
- Source record
- Official CVE record