CVE-2026-27602: Modoboa has OS Command Injection

CVE-2026-27602 · Severity: low · CVSS 3.1 · Published 2026-03-25

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.

Technologies: modoboa (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-27602 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-27602 being exploited in the wild.
How severe is CVE-2026-27602?
Low severity, with a CVSS score of 3.1, published 25 March 2026.
Which products and versions are affected?
modoboa (PyPI) ECOSYSTEM:introduced=0,fixed=2.7.1.
Is there a fix for CVE-2026-27602?
Yes. modoboa (PyPI): upgrade to 2.7.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-27602?
Check whether you run modoboa (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • modoboa (PyPI): upgrade to 2.7.1 or later
    pip install "modoboa>=2.7.1"

Affected products

  • modoboa (PyPI) ECOSYSTEM:introduced=0,fixed=2.7.1

Identifiers

  • CVE-2026-27602
  • GHSA-wwv8-cqpr-vx3m
  • PYSEC-2026-2223

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.