{"id":"CVE-2026-125757","summary":"mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer","details":"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.","aliases":["GHSA-jgr3-fv33-x43c"],"modified":"2026-11-11T02:48:56.249335853Z","published":"2026-11-10T15:22:51.515Z","database_specific":{"cwe_ids":["CWE-1336"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125757.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125757.json"},{"type":"PACKAGE","url":"https://github.com/mailcow/mailcow-dockerized"},{"type":"ARTICLE","url":"https://github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850"},{"type":"FIX","url":"https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3"},{"type":"ADVISORY","url":"https://github.com/mailcow/mailcow-dockerized/releases/tag/2026-11"},{"type":"ADVISORY","url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125757"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-domain-wide-footer"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mailcow/mailcow-dockerized","events":[{"introduced":"0"},{"fixed":"88fbaa459a5cd5843c2c7cb06ee2928e2a78b9e6"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2026-11"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["2026-10","2026-09a","2026-09","2026-07b","2026-07a","2026-07","2026-05c","2026-05b","2026-05a","2026-05","2026-03b","2026-03a","2026-03","2026-01","2025-12a","2025-12","2025-10a","2025-10","2025-09c","2025-09b","2025-09a","2025-09","2025-07","2025-05","2025-03b","2025-03a","2025-03","2025-02","2025-01a","2025-01","2024-11b","2024-11a","2024-11","2024-08a","2024-08","2024-07","2024-06c","2024-06b","2024-06a","2024-06","2024-04","2024-02","2024-01e","2024-01d","2024-01c","2024-01b","2024-01a","2024-01","2023-12a","2023-12","2023-11a","2023-11","2023-10a","2023-10","2023-09","2023-08","2023-07a","2023-07","2023-05a","2023-05","2023-04b","2023-04a","2023-04","2023-03","2023-02a","2023-02","2023-01a","2023-01","2022-12b","2022-12a","2022-12","2022-11b","2022-11a","2022-11","2022-10a","2022-10","2022-09a","2022-09","2022-08b","2022-08a","2022-08","2022-07a","2022-07","2022-06b","2022-06a","2022-06","2022-05d","2022-05c","2022-05b","2022-05a","2022-05","2022-03a","2022-03","2022-01a","2022-01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125757.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}