Modoboa has an OS Command Injection
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| modoboa | modoboa | before 2.7.1 | 2.7.1 | Patch available | CNA |
| — | modoboa (PyPI) | before 2.7.1 | 2.7.1 | Patch available | GHSA-wwv8-cqpr-vx3m |
- modoboa Vendormodoboa Affected before 2.7.1 Fixed in 2.7.1 Patch available CNA
- modoboa (PyPI) Vendor— Affected before 2.7.1 Fixed in 2.7.1 Patch available GHSA-wwv8-cqpr-vx3m
Remediation
- Fix · CNA modoboa (modoboa) Fixed in 2.7.1
- Fix · GHSA-wwv8-cqpr-vx3m modoboa (PyPI) Fixed in 2.7.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-27602
- 2026-10-03 Alias added: GHSA-wwv8-cqpr-vx3m
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More Modoboa vulnerabilities
- TI-2023-02089 Improper Authorization in modoboa/modoboa CVSS 3.1CRITICAL 9.1
- TI-2023-05233 Cross-Site Request Forgery (CSRF) in modoboa/modoboa CVSS 3.1HIGH 8.8
- TI-2023-02028 Weak Password Requirements in modoboa/modoboa CVSS 3.1CRITICAL 9.8
- TI-2023-00737 Authentication Bypass by Primary Weakness in modoboa/modoboa CVSS 3.1CRITICAL 9.8
- TI-2023-05231 Cross-site Scripting (XSS) - DOM in modoboa/modoboa CVSS 3.1MEDIUM 5.4
- TI-2023-02090 Cross-Site Request Forgery (CSRF) in modoboa/modoboa CVSS 3.1MEDIUM 6.8
Sources
- CVE-2026-27602 · CVE Program
- CVE-2026-27602 · NVD
- FIRST EPSS
- GHSA-wwv8-cqpr-vx3m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences