mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer
- State
- Published
- Severity
- 9.4 Critical
- Published
- Nov 10, 2026
- Updated
- Nov 10, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| mailcow: dockerized mailcow | before 2026-11 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.4 Critical | VulnCheck | |
| 3.1 | 9.1 Critical | VulnCheck |
Weaknesses
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
- GitHub Security Advisory (GHSA-jgr3-fv33-x43c)Vendor Advisory
- https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3Patch
- mailcow: dockerized 2026-11 Release NotesRelease Notes
- https://github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850Technical Details
- VulnCheck Advisory: mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide FooterThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.