Skip to content
OpenAdvisories
High · 7.2 CVE-2026-27602 EUVD-2026-15951GHSA-wwv8-cqpr-vx3mPYSEC-2026-2223

Modoboa has an OS Command Injection

Published Mar 25, 2026 · Updated Mar 26, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
modoboa modoboa < 2.7.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI modoboa < 2.7.1 2.7.1 GHSA-wwv8-cqpr-vx3m

References