CVE-2026-125757
mailcow: dockerized before 2026-11 contains a server-side template …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/c
- github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3
- github.com/mailcow/mailcow-dockerized/releases/tag/2026-11
- github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c
- www.vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-
- nvd.nist.gov/vuln/detail/CVE-2026-125757
- cve.org/CVERecord?id=CVE-2026-125757
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.