Skip to content
Connect AISign inSign up free
CVE-2026-408717.2HighCWE-116

CVE-2026-40871: mailcow: dockerized vulnerable to Second Order SQL Injection in quarantine category via API

mailcow · mailcow-dockerized

Affected: mailcow-dockerized · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

8.6%probability of exploitation in the next 30 days
95th percentile
050100

Higher than 95% of scored CVEs

7.2HighCVSS 3.1
LowHigh

DescriptionCVE.org

mailcow: dockerized is an open source groupware/email suite based on docker. Versions prior to 2026-03b have a second-order SQL injection vulnerability in the quarantine_category field via the Mailcow API. The /api/v1/add/mailbox endpoint stores quarantine_category without validation or sanitization. This value is later used by quarantine_notify.py, which constructs SQL queries using unsafe % string formatting instead of parameterized queries. This results in a delayed (second-order) SQL injection when the quarantine notification job executes, allowing an attacker to inject arbitrary SQL. Using a UNION SELECT, sensitive data (e.g., admin credentials) can be exfiltrated and rendered inside quarantine notification emails. Version 2026-03b fixes the vulnerability.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • mailcow · mailcow-dockerized< 2026-03b

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
mailcow
Published
April 2026

CoverageNo articles yet

No CyberSIXT article names CVE-2026-40871 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References