Vulnerability · Published Mar 25, 2026 · Assigned by GitHub_M
CVE-2026-27602Modoboa has an OS Command Injection
High 7.2
In plain English
A high-severity OS command injection in modoboa from modoboa. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | modoboa | 2.7.1 | GHSA-wwv8-cqpr-vx3m |
| PyPI | modoboa | 2.7.1 | PYSEC-2026-2223 |
Affected products (as reported)
Weakness: CWE-78 · Vector: 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 x_refsource_CONFIRM
- https://github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa x_refsource_MISC
- https://github.com/modoboa/modoboa/releases/tag/2.7.1 x_refsource_MISC