Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. modoboa
  4. ›
  5. CVE-2026-27602

CVE-2026-27602: Modoboa has OS Command Injection

March 25, 2026 (updated March 27, 2026)

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.

References

  • github.com/advisories/GHSA-wwv8-cqpr-vx3m
  • github.com/modoboa/modoboa
  • github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa
  • github.com/modoboa/modoboa/releases/tag/2.7.1
  • github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m
  • nvd.nist.gov/vuln/detail/CVE-2026-27602

Code Behaviors & Features

Detect and mitigate CVE-2026-27602 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.7.1

Fixed versions

  • 2.7.1

Solution

Upgrade to version 2.7.1 or above.

Impact 7.2 HIGH

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

Learn more about CVSS

Weakness

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

Source file

pypi/modoboa/CVE-2026-27602.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:36 +0000.