{"id":"CVE-2026-27602","published":"2026-03-25T18:49:25Z","modified":"2026-03-26T15:38:37Z","title":"Modoboa has an OS Command Injection","vendor":"modoboa","product":"modoboa","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00804,"percentile":0.53516,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa","tags":["x_refsource_MISC"]},{"url":"https://github.com/modoboa/modoboa/releases/tag/2.7.1","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.7},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"modoboa","affectedVersions":[{"vendor":"modoboa","product":"modoboa","versions":["< 2.7.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-26T15:38:34.373097Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"modoboa","vulnerableRanges":["<2.7.1"],"patched":["2.7.1"],"from":["GHSA-wwv8-cqpr-vx3m","PYSEC-2026-2223"],"provenance":"source"}],"summary":{"text":"Modoboa, a mail hosting and management platform, has an OS command injection flaw in the exec_cmd() function in modoboa/lib/sysutils.py, which runs subprocess calls with shell=True and passes unsanitized domain names into shell command strings. An attacker holding a Reseller or SuperAdmin account on a network-reachable instance can embed shell metacharacters in a domain name to execute arbitrary OS commands on the server, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:04Z"},"euvd":{"id":"EUVD-2026-15951","exploited":false,"provenance":"source"}}