Home

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.

PUBLISHED Reserved 2026-02-20 | Published 2026-03-25 | Updated 2026-03-26 | Assigner GitHub_M




HIGH: 7.2CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

< 2.7.1
affected

References

github.com/...odoboa/security/advisories/GHSA-wwv8-cqpr-vx3m exploit

github.com/...odoboa/security/advisories/GHSA-wwv8-cqpr-vx3m

github.com/...ommit/27a7aa133d3608fe8c25ae39125d1012c333cbfa

github.com/modoboa/modoboa/releases/tag/2.7.1

cve.org (CVE-2026-27602)

nvd.nist.gov (CVE-2026-27602)

Download JSON