{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"mailcow/mailcow-dockerized","product":"mailcow: dockerized","source":"CNA: VulnCheck","vendor":"mailcow","versions":[{"lessThan":"2026-11","status":"affected","version":"0","versionType":"custom"}]}],"cveId":"CVE-2026-125757","cwes":["CWE-1336"],"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.","epss":null,"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c"}],"kev":null,"metrics":[{"score":9.4,"severity":"critical","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":9.1,"severity":"critical","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},{"score":9.4,"severity":"critical","source":"NVD: disclosure@vulncheck.com","vector":"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","version":"4.0"},{"score":9.1,"severity":"critical","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1794331051177,"publishedAt":1794324171515,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/mailcow/mailcow-dockerized/releases/tag/2026-11"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-domain-wide-footer"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/mailcow/mailcow-dockerized/releases/tag/2026-11"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-domain-wide-footer"},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3"}],"revision":"3b84de0404935d0434e8ac0efa066b86da092141330f1b3a00f1a6beedff3f35","sources":[{"modifiedAt":1794328782814,"name":"CNA: VulnCheck","retrievedAt":1794330662889,"url":"https://www.cve.org/CVERecord?id=CVE-2026-125757"},{"modifiedAt":1794331051177,"name":"NVD","retrievedAt":1794336270159,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125757"}],"ssvc":{"assessedAt":1794328763238,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer","updatedAt":1794336270159}