CVE-2026-27602Modoboa OS Command Injection
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 7.2 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Modoboa < 2.7.1
- Modoboa 2.7.1
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Modoboa and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Mar 25, 2026Published
- Mar 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Modoboa CVEsYou are reading CVE-2026-27602. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa
- Referencehttps://github.com/modoboa/modoboa/releases/tag/2.7.1
- Exploithttps://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m
- Exploithttps://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m
Data last checked: Nov 24, 2026 16:13 UTC