← Vulnerability feed

Vulnerability record · CVE-2023-26490 · published 4 March 2023

CVE-2023-26490: Mailcow\ os command injection vulnerability

MMailcow · Mailcow\

mailcow is a dockerized email package, with multiple containers linked in one bridged network. The Sync Job feature - which can be made available to standard users by assigning them the necessary permission - suffers from a shell command injection. A malicious user can abuse this vulnerability to obtain shell access to the Docker container running dovecot. The imapsync Perl script implements all the necessary functionality for this feature, including the XOAUTH2 authentication mechanism. This code path creates a shell command to call openssl. However, since different parts of the specified user password are included without any validation, one can simply execute additional shell commands. Notably, the default ACL for a newly-created mailcow account does not include the necessary permission. The Issue has been fixed within the 2023-03 Update (March 3rd 2023). As a temporary workaround the Syncjob ACL can be removed from all mailbox users, preventing from creating or changing existing Syncjobs.

8.8 CVSS 3.1 High EPSS 2.2% · top 18.0% CWE-78 · OS command injection
8.8CVSS 3.1 base score
2.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

mailcow is a dockerized email package, with multiple containers linked in one bridged network. The Sync Job feature - which can be made available to standard users by assigning them the necessary permission - suffers from a shell command injection. A malicious user can abuse this vulnerability to obtain shell access to the Docker container running dovecot. The imapsync Perl script implements all the necessary functionality for this feature, including the XOAUTH2 authentication mechanism. This code path creates a shell command to call openssl. However, since different parts of the specified user password are included without any validation, one can simply execute additional shell commands. Notably, the default ACL for a newly-created mailcow account does not include the necessary permission. The Issue has been fixed within the 2023-03 Update (March 3rd 2023). As a temporary workaround the Syncjob ACL can be removed from all mailbox users, preventing from creating or changing existing Syncjobs.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-26490 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2025-25198Mailcow\ open redirect vulnerabilitymailcow: dockerized is an open source groupware/email suite based on docker. Prior to version 2025-01a, a vulnerability in mailcow's password reset f…EPSS 1.1%8.8CVE-2023-34108Mailcow\ os command injection vulnerabilitymailcow is a mail server suite based on Dovecot, Postfix and other open source software, that provides a modern web UI for user/server administration…EPSS 0.98%8.8CVE-2022-31138Mailcow\ os command injection vulnerabilitymailcow is a mailserver suite. Prior to mailcow-dockerized version 2022-06a, an extended privilege vulnerability can be exploited by manipulating the…EPSS 3.3%8.8CVE-2022-31245Mailcow\ os command injection vulnerabilitymailcow before 2022-05d allows a remote authenticated user to inject OS commands and escalate privileges to domain admin via the --debug option in co…EPSS 5.4%8.8CVE-2017-8928Mailcow\ cross-site request forgery vulnerabilitymailcow 0.14, as used in "mailcow: dockerized" and other products, has CSRF.EPSS 2.0%8.2CVE-2022-39258Mailcow\ information exposure vulnerabilitymailcow is a mailserver suite. A vulnerability innversions prior to 2022-09 allows an attacker to craft a custom Swagger API template to spoof Author…EPSS 1.8%7.3CVE-2024-24760Mailcow\ vulnerabilitymailcow is a dockerized email package, with multiple containers linked in one bridged network. A security vulnerability has been identified in mailco…EPSS 0.87%7.2CVE-2025-53909Mailcow\ vulnerabilitymailcow: dockerized is an open source groupware/email suite based on docker. A Server-Side Template Injection (SSTI) vulnerability exists in versions…EPSS 0.46%

Source: NIST National Vulnerability Database (record CVE-2023-26490), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.