CVE-2026-125757Mailcow: Dockerized template injection
CVSS score
9.4
Critical
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.82%
0.82% chance of exploitation in the next 30 days, higher than 58.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running Mailcow: Dockerized and compare its version with the affected versions.
Update to a fixed version
- Update Mailcow: Dockerized to 2026-11 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- High
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| mailcow Mailcow: Dockerized | < 2026-11 |
Weakness
- CWE-1336 template injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-125757 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.8% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-125757?
CVE-2026-125757 has a CVSS 4.0 base score of 9.4 (critical).
Which versions are affected?
Mailcow Mailcow: Dockerized (< 2026-11)
Is there a patch for CVE-2026-125757?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850
- 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-domain-wide-footer
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.