modoboa
Affected
- introduced
0, fixed2.7.1(ecosystem)
Fixed versions
2.7.1
Fix
- Fixed version
2.7.1pip install --upgrade modoboa==2.7.1
Advisory
Also known as: CVE-2026-27602, GHSA-wwv8-cqpr-vx3m
The record has no 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.
High Basis: CVSS v3 score 7.2, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
0, fixed 2.7.1 (ecosystem)2.7.1
2.7.1pip install --upgrade modoboa==2.7.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0