Mailcow mailcow: dockerized
mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2026-11
Fixed in 2026-11
Mitigation
Upgrade mailcow: dockerized to 2026-11 or later.
References
- Vendor advisory github.com/mailcow/mailcow-dockerized/security…
- Patch github.com/mailcow/mailcow-dockerized/commit/e…
- Release notes github.com/mailcow/mailcow-dockerized/releases…
Timeline
Days relative to CVE publicationFirst public PoC 1 h after publication; not in CISA KEV. First PoC: Faceless0x7/CVE-2026-125757 (created 10 Nov 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| Faceless0x7/CVE-2026-125757 | 10 Nov 2026 +1 h | 14 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /domainadmin/
- Ports
- 8000
- Seen in
- 1 repo: Faceless0x7/CVE-2026-125757
- Evidence
- Faceless0x7/CVE-2026-125757/CVE-2026-125757.py:82
POST /domainadmin/
- Content-Type
application/x-www-form-urlencoded- Ports
- 8000
- Seen in
- 1 repo: Faceless0x7/CVE-2026-125757
- Evidence
- Faceless0x7/CVE-2026-125757/CVE-2026-125757.py:83
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/domainadmin/(?:[?#].*)?$
(?i)^/domainadmin/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-125757 mailcow mailcow: dockerized exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/domainadmin/"; reference:url,poc.griffinguard.io/cve/CVE-2026-125757; classtype:web-application-attack; sid:9543513; rev:1;)
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-125757 mailcow mailcow: dockerized exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/domainadmin/"; reference:url,poc.griffinguard.io/cve/CVE-2026-125757; classtype:web-application-attack; sid:9433835; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: mailcow mailcow: dockerized exploit attempt (CVE-2026-125757)
id: gg-pocmon-cve-2026-125757-9543513
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-125757. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-125757
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/domainadmin/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.125757
title: mailcow mailcow: dockerized exploit attempt (CVE-2026-125757)
id: gg-pocmon-cve-2026-125757-9433835
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-125757. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-125757
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/domainadmin/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.125757