CVE-2022-31138Mailcow: Dockerized
High 8.8
Follow: this CVE · Mailcow · Mailcow: Dockerized We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 3.2% probability of exploitation in 30 days · percentile 89
- Auth required
- Yes
- Published
- Jul 11, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
mailcow is a mailserver suite. Prior to mailcow-dockerized version 2022-06a, an extended privilege vulnerability can be exploited by manipulating the custom parameters regexmess, skipmess, regexflag, delete2foldersonly, delete2foldersbutnot, regextrans2, pipemess, or maxlinelengthcmd to execute arbitrary code. Users should update their mailcow instances with the `update.sh` script in the mailcow root directory to 2022-06a or newer to receive a patch for this issue. As a temporary workaround, the Syncjob ACL can be removed from all mailbox users, preventing changes to those settings.
What to do
- Apply the vendor's security update for Mailcow: Dockerized.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mailcow | mailcow:_dockerized | < 2022-06a |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Mitigation Third Party Advisory