# CVE-2022-31245: mailcow before 2022-05d allows a remote authenticated user to inject OS commands and escalate privileges to domain admin via the --debug op…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.57%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-20T14:20:21.000Z
- Modified: 2026-06-17T04:45:12.563Z
- Weaknesses: CWE-78
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mailcow mailcow:_dockerized: before 2022-05d

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://github.com/ly1g3/Mailcow-CVE-2022-31245> (exploit, patch, third-party-advisory)
- <https://github.com/mailcow/mailcow-dockerized/releases/tag/2022-05d> (patch, release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2022-31245](https://www.cve.org/CVERecord?id=CVE-2022-31245), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-31245](https://nvd.nist.gov/vuln/detail/CVE-2022-31245), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31245 · Whole record: https://cve.day/CVE-2022-31245.json · Rebuilt by cve.day 2026-11-25T22:58:11.848Z
