VDB
Sign up
HIGH7.2

PYSEC-2026-2223

Quick fix

PYSEC-2026-2223 — modoboa: upgrade to the fixed version with the command below.

pip install --upgrade 'modoboa>=2.7.1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/modoboa
Introduced in: 0Fixed in: 2.7.1
Fixpip install --upgrade 'modoboa>=2.7.1'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/modoboa"]}'