Read the docs

mailcow: dockerized template injection enables code execution

Priority HIGH 76CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.

Summary

mailcow: dockerized before 2026-11 contains a server-side template injection flaw (CWE-1336) in its domain-wide footer feature. A domain administrator who stores a malicious footer can execute commands in the shared rspamd container. Because that container serves every tenant, an attacker can read or inject mail for all tenants and disable filtering.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00824 57th percentileScored 2026-11-16
Fix Fixed mailcow: dockerized (mailcow): 2026-11

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mailcowmailcow: dockerizedbefore 2026-112026-11Patch availableCNA
  • mailcow: dockerized Vendormailcow Affected before 2026-11 Fixed in 2026-11 Patch available CNA

Remediation

Update mailcow: dockerized to 2026-11.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

  • Fix · CNA mailcow: dockerized (mailcow) Fixed in 2026-11

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-125757
  2. 2026-11-10 CISA SSVC decision points changed
  3. 2026-11-10 Priority changed: MEDIUM → HIGH
  4. 2026-11-10 Alias added: GHSA-pg35-3wf2-cwx5

References

  • TI-2026-29528 mailcow: dockerized vulnerable to stored XSS in autodiscover logs email address field CVSS 4.0CRITICAL 9.3
  • TI-2026-29529 mailcow: dockerized vulnerable to stored XSS in Quarantine attachment filenames CVSS 4.0HIGH 8.9
  • TI-2022-13182 OS Command Injection in mailcow CVSS 3.1HIGH 8.8
  • TI-2022-18634 mailcow-dockerized critical information misrepresentation can lead to phishing attacks through Swagger UI CVSS 3.1HIGH 8.2
  • TI-2026-06557 mailcow-dockerized 2026-03b - Stored XSS in Queue Manager via unescaped CVSS 4.0HIGH 7.4
  • TI-2026-29527 mailcow: dockerized vulnerable to Second Order SQL Injection in quarantine category via API CVSS 3.1HIGH 7.2
See all 23 →

Sources