CVE-2022-31245

HIGH

mailcow <2022-05d - Command Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-31245. PoCs published by ly1g3.

AI-analyzed exploit summary This repository contains a working proof-of-concept exploit for CVE-2022-31245, a command injection vulnerability in Mailcow's Sync Job feature. The exploit allows an authenticated user to execute arbitrary commands via the 'Custom Parameters' field, bypassing a case-sensitive check, and includes a Python script to automate the attack.

Description

mailcow before 2022-05d allows a remote authenticated user to inject OS commands and escalate privileges to domain admin via the --debug option in conjunction with the ---PIPEMESS option in Sync Jobs.

Exploits (1)

nomisec WORKING POC 12 stars
by ly1g3 · poc
https://github.com/ly1g3/Mailcow-CVE-2022-31245

This repository contains a working proof-of-concept exploit for CVE-2022-31245, a command injection vulnerability in Mailcow's Sync Job feature. The exploit allows an authenticated user to execute arbitrary commands via the 'Custom Parameters' field, bypassing a case-sensitive check, and includes a Python script to automate the attack.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Mailcow (versions 2019 - 2022-05c)
Auth required
Prerequisites: Valid Mailcow user credentials · Access to the Sync Jobs feature
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Patch, Release Notes, Third Party Advisory x_refsource_misc
https://github.com/mailcow/mailcow-dockerized/releases/tag/2022-05d
Exploit, Patch, Third Party Advisory x_refsource_misc
https://github.com/ly1g3/Mailcow-CVE-2022-31245

Scores

CVSS v3 8.8
EPSS 0.0516
EPSS Percentile 91.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (1)
mailcow/mailcow\ < 2022-05d
Published May 20, 2022
Tracked Since Feb 18, 2026