# CVE-2026-125757: mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-10T15:22:51.515Z
- Modified: 2026-11-12T20:57:59.173Z
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- mailcow mailcow: dockerized: before 2026-11

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `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`
- VulnCheck: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c> (exploit, vendor-advisory)
- <https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3> (patch)
- <https://github.com/mailcow/mailcow-dockerized/releases/tag/2026-11> (release-notes)
- <https://github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850> (technical-description)
- <https://www.vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-domain-wide-footer> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-125757](https://www.cve.org/CVERecord?id=CVE-2026-125757), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-125757](https://nvd.nist.gov/vuln/detail/CVE-2026-125757), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-125757 · Whole record: https://cve.day/CVE-2026-125757.json · Rebuilt by cve.day 2026-11-25T22:59:49.786Z
