home / blog

2026-11-10 · critical

CVE-2026-125757: Critical SSTI in mailcow

SSTI in mailcow footer enables RCE in shared rspamd across tenants. CVSS 9.1 critical.

CVE-2026-125757: Critical SSTI in mailcow

CVE-2026-125757 is a Server-Side Template Injection (SSTI) in mailcow: dockerized affecting the domain footer. A domain admin can insert a malformed Jinja macro in the footer applied globally: when the rspamd MOO_FOOTER prefilter processes it, the template engine (Jinja/Lupa) executes code and grants arbitrary command execution (RCE) in the shared rspamd container used by all tenants.

Impact is critical (CVSS 9.1): from a single malformed domain footer, the attacker reaches all email messages of every hosted tenant, can read them, inject content, disable spam filters. Technical data and GitHub signals (2026-11-10) confirm the severity: cross-tenant RCE scenarios are explicitly documented.

Immediate action: verify that mailcow: dockerized version is 2026-11 or later. If the system is in production and earlier than 2026-11, update without delay. In the meantime, audit current domain footers for unusual characters (macros, braces, Jinja pipes) and restrict footer modification access to trusted admins only. Monitor rspamd logs for anomalous command execution.

At a glance

What
Server-Side Template Injection (SSTI) via Jinja in mailcow: dockerized domain footer, exploitable by domain admins to execute macros in rspamd MOO_FOOTER pipeline.
Severity
CVSS 9.1 critical. Attacker achieves RCE in shared rspamd container, reading mail across tenants, injecting content, disabling spam filters.
Affected versions
mailcow: dockerized before version 2026-11.
Fix
Update to mailcow: dockerized version 2026-11 or later.
Status
Vulnerability published on NVD on 2026-11-10. Patch available.
Action
Critical priority: verify mailcow version in production and update immediately. Audit domain footers for template injection.

Sources: NVD, CVE-2026-125757

← All articles