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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mailcow | mailcow: dockerized | < 2026-11 | 2026-11 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Faceless0x7/CVE-2026-125757 ★ 0 · Nov 10, 2026
CVE-2026-125757 Exploit — mailcow domain-wide footer SSTI via rspamd's jinja/lupa engine, enabling cross-tenant RCE in the shared rspamd container.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- GitHub Security Advisory (GHSA-jgr3-fv33-x43c) vendor-advisory
- https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3 patch
- mailcow: dockerized 2026-11 Release Notes release-notes
- https://github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850 technical-description
- VulnCheck Advisory: mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer third-party-advisory