CVE-2026-125757
JSON

9.4critical

mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer

Severity
9.4critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.82% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

mailcow: dockerized before 2026-11 contains a server-side template injection vulnerability that allows domain administrators to execute commands in the shared rspamd container by storing a malicious domain-wide footer. Attackers can embed a Jinja macro with an os.execute default value, rendered by the rspamd MOO_FOOTER prefilter, to read or inject mail for every tenant and disable filtering.

Affected

Product or packageVersionsReported by
mailcow mailcow: dockerizedbefore 2026-11CVE List

All scores

VulnCheck9.4critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
VulnCheck9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-1336

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-125757 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-125757 changed 2026-11-12Public domain