RCE in Modoboa
CVE-2026-27602
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.007 (50.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 51st percentile — 50.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.007 · change: +0.001
Affected products
- Modoboa — versions < 2.7.1
Weakness classification (CWE)
References
- github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m (Exploit, Vendor Advisory)
- github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa (Patch)
- github.com/modoboa/modoboa/releases/tag/2.7.1 (Product, Release Notes)
Frequently asked questions
- What is CVE-2026-27602?
- CVE-2026-27602 is a high-severity vulnerability in Modoboa, classified under OS Command Injection. CVSS score: 7.2/10. Published 2026-03-25.
- How severe is CVE-2026-27602?
- High severity. CVSS v3 base score is 7.2 out of 10.