Home / stalwartlabs / mail-server / CVE-2024-35187
CVE-2024-35187: is it exploited, and which versions of stalwartlabs mail-server are affected and fixed?
CVE-2024-35187 is an incorrect authorization vulnerability in stalwartlabs mail-server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: mail-server < 0.8.0 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-35187?
Stalwart Mail Server has privilege escalation by design
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.
From the CVE record by GitHub_M, last updated August 2, 2024, 03:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| stalwartlabs | mail-server | < 0.8.0 |
As the CVE record by GitHub_M states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2024-35187?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-35187 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, May 16, 2024)
- EPSS
- 0.74% probability of exploitation activity in the next 30 days, percentile 55.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-863 Incorrect Authorization
Where are the vendor advisories and references?
- https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-rwp5-f854-ppg6 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 10, 2024
- Published
- May 16, 2024, 15:16 UTC
- CVE record updated
- August 2, 2024, 03:07 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 07:34 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect mail-server?
- May 15, 2024CVE-2024-35179 stalwartlabs mail-server: privilege Dropping / Lowering Errors
Questions about CVE-2024-35187
Is CVE-2024-35187 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.74% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of stalwartlabs mail-server are affected by CVE-2024-35187?
mail-server < 0.8.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2024-35187?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-35187?
Critical (9.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-35187?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.