CVE-2026-125757: Vulnerability in mailcow: dockerized
Critical. 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.
CWE-1336
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- 0.8 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-pg35-3wf2-cwx5
- Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-1336
- Published
- 10 Nov 2026
- Last change
- 12 Nov 2026
- Likelihood rank
- Higher than 59 % of all rated vulnerabilities
- Analysis status
- Awaiting Analysis
Affected products
Affected versions and the first fixed release
- mailcow: dockerized Before 2026-11. Fixed in 2026-11
Advisories
Vendor and security advisories
- github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/dat...
- github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c
- vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-d...
Patches and fixes
Updates, commits and release notes
- github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3
- github.com/mailcow/mailcow-dockerized/releases/tag/2026-11
Related
- mailcow: dockerized vulnerabilities Recent advisories, watch this product