<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 08 Oct 2026 21:22:36 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-27602 — Modoboa has an OS Command Injection</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-27602</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; modoboa&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; modoboa&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-27602</guid>
    </item>
    <item>
      <title>GHSA-wwv8-cqpr-vx3m — Modoboa has OS Command Injection</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-wwv8-cqpr-vx3m</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: modoboa&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`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.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The root cause is in `modoboa/lib/sysutils.py:31`:&lt;/p&gt;
&lt;p&gt;```python
kwargs[&amp;#34;shell&amp;#34;] = True
process = subprocess.Popen(cmd, **kwargs)
```&lt;/p&gt;
&lt;p&gt;When a create a domain is created with DKIM enabled, the domain name gets embedded into a shell command like this:&lt;/p&gt;
&lt;p&gt;```python
exec_cmd(f&amp;#34;openssl genrsa -out {dkim_storage_dir}/{domain.name}.pem {key_size}&amp;#34;)
```&lt;/p&gt;
&lt;p&gt;If the domain name contains something like `$(id&amp;gt;/tmp/proof).example.com`, the shell executes the injected command before running openssl.&lt;/p&gt;
&lt;p&gt;The same pattern appears in several other places:&lt;/p&gt;
&lt;p&gt;- `modoboa/admin/jobs.py:38` — mailbox rename via `mv` using `full_address`
- `modoboa/amavis/lib.py:202` — `sa-learn` using `domain.name`
- `modoboa/admin/models/mailbox.py:150` — `doveadm user` using `full_address`
- `modoboa/maillog/graphics.py:105–107` — `rrdtool` using `domain.name`
- `modoboa/webmail/models.py:54–57` — `doveadm move/delete` using `account.email`&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;1. Deploy modoboa &amp;lt;= 2.7.0
2. Log in as a Reseller or SuperAdmin
3. Create a new domain named `$(id&amp;gt;/tmp/proof).example.com` with DKIM enabled
4. SSH into the server and read `/tmp/proof`&lt;/p&gt;
&lt;p&gt;Something like this will be displayed:&lt;/p&gt;
&lt;p&gt;```
uid=0(root) gid=0(root) grou…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: modoboa&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`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.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The root cause is in `modoboa/lib/sysutils.py:31`:&lt;/p&gt;
&lt;p&gt;```python
kwargs[&amp;#34;shell&amp;#34;] = True
process = subprocess.Popen(cmd, **kwargs)
```&lt;/p&gt;
&lt;p&gt;When a create a domain is created with DKIM enabled, the domain name gets embedded into a shell command like this:&lt;/p&gt;
&lt;p&gt;```python
exec_cmd(f&amp;#34;openssl genrsa -out {dkim_storage_dir}/{domain.name}.pem {key_size}&amp;#34;)
```&lt;/p&gt;
&lt;p&gt;If the domain name contains something like `$(id&amp;gt;/tmp/proof).example.com`, the shell executes the injected command before running openssl.&lt;/p&gt;
&lt;p&gt;The same pattern appears in several other places:&lt;/p&gt;
&lt;p&gt;- `modoboa/admin/jobs.py:38` — mailbox rename via `mv` using `full_address`
- `modoboa/amavis/lib.py:202` — `sa-learn` using `domain.name`
- `modoboa/admin/models/mailbox.py:150` — `doveadm user` using `full_address`
- `modoboa/maillog/graphics.py:105–107` — `rrdtool` using `domain.name`
- `modoboa/webmail/models.py:54–57` — `doveadm move/delete` using `account.email`&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;1. Deploy modoboa &amp;lt;= 2.7.0
2. Log in as a Reseller or SuperAdmin
3. Create a new domain named `$(id&amp;gt;/tmp/proof).example.com` with DKIM enabled
4. SSH into the server and read `/tmp/proof`&lt;/p&gt;
&lt;p&gt;Something like this will be displayed:&lt;/p&gt;
&lt;p&gt;```
uid=0(root) gid=0(root) grou…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-wwv8-cqpr-vx3m</guid>
    </item>
  </channel>
</rss>
