{"id":"CVE-2026-125757","aliases":["CVE-2026-125757"],"related":[],"kind":"vulnerability","state":"published","title":"mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"}],"published":"2026-11-10T15:22:51.515Z","modified":"2026-11-12T20:57:59.173Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.4,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-1336"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2026-11","status":"affected"}],"vendor":"mailcow","product":"mailcow: dockerized","repo":"https://github.com/mailcow/mailcow-dockerized","source":"cvelist"}],"references":[{"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mailcow/mailcow-dockerized/releases/tag/2026-11","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-domain-wide-footer","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Faceless0x7"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-10T16:39:23.238Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-125757","url":"https://www.cve.org/CVERecord?id=CVE-2026-125757","licence":"CVE Terms of Use","modified":"2026-11-10T16:39:42.814Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-125757","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125757","licence":"Public domain","modified":"2026-11-12T20:57:59.173Z"}],"updatedAt":"2026-11-25T22:59:49.786Z","epss":{"score":0.00824,"percentile":0.58485,"date":"2026-12-01T12:00:22.000Z"}}