Advisory

PYSEC-2026-2223

Also known as: CVE-2026-27602, GHSA-wwv8-cqpr-vx3m

Summary

The record has no summary.

Details

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.

Severity

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

Dates

Published
2026-03-25 19:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

modoboa

PyPI · All systems

Affected

  • introduced 0, fixed 2.7.1 (ecosystem)

Fixed versions

2.7.1

Fix

  • Fixed version 2.7.1
    pip install --upgrade modoboa==2.7.1

Fix 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

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences