# CVE-2026-27602: Modoboa has an OS Command Injection

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/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): 0.80%, higher than 54% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-25T17:03:37.000Z
- Modified: 2026-07-13T07:26:17.517Z
- Also known as: GHSA-wwv8-cqpr-vx3m, PYSEC-2026-2223
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Modoboa is a mail hosting and management platform. Prior to version 2.7.1, `exec_cmd()` in `modoboa/lib/sysutils.py` always runs subprocess calls with `shell=True`. Since domain names flow directly into shell command strings without any sanitization, a Reseller or SuperAdmin can include shell metacharacters in a domain name to run arbitrary OS commands on the server. Version 2.7.1 patches the issue.

(As written by CVE List.)

## Affected

- modoboa modoboa: < 2.7.1; before 2.7.1
- modoboa (PyPI): before 2.7.1

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m> (exploit, evidence, vendor-advisory, web)
- <https://github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa> (fix, patch, web)
- <https://github.com/modoboa/modoboa/releases/tag/2.7.1> (advisory, product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27602> (advisory)
- <https://github.com/modoboa/modoboa> (package)

## Sources

- CVE List: [CVE-2026-27602](https://www.cve.org/CVERecord?id=CVE-2026-27602), CVE Terms of Use, modified 2026-03-26
- GitHub Advisory Database: [GHSA-wwv8-cqpr-vx3m](https://github.com/advisories/GHSA-wwv8-cqpr-vx3m), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-27602](https://nvd.nist.gov/vuln/detail/CVE-2026-27602), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2223](https://osv.dev/vulnerability/PYSEC-2026-2223), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-27602 · Whole record: https://cve.day/CVE-2026-27602.json · Rebuilt by cve.day 2026-11-25T22:59:16.880Z
