Original 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 software
- Mailcow < 2026-11 Fixed in: 2026-11 repository or package match
Details
- Published
- 2026-11-11
- Last modified
- 2026-11-11
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H- CWE
- CWE-1336
- EPSS (30-day exploit probability)
- 0.82% (percentile 58)
References
- cve.org/CVE-2026-125757
- nvd.nist.gov/vuln/detail/CVE-2026-125757
- github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c
- github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3
- github.com/mailcow/mailcow-dockerized/releases/tag/2026-11
- github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/c...
- www.vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.