What’s Vulnerable › Vulnerabilities
CVE-2026-27602: Modoboa has an OS Command Injection
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-25 · updated 2026-06-17
- Weakness: CWE-78
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 products
- modoboa/modoboa: before 2.7.1 — fixed in 2.7.1
How to fix
Upgrade to a fixed version: modoboa/modoboa 2.7.1. Check the vendor advisory for mitigations.
References
- https://github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa
- https://github.com/modoboa/modoboa/releases/tag/2.7.1
- https://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m
- https://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m
Get alerted when CVE-2026-27602 or the next vulnerability affects your stack