CVE-2026-125757
published critical CVSS 4.0 · 9.4mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mailcow | — | mailcow: dockerized0 to < 2026-11 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.1 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mailcow | mailcow: dockerized | 0 to < 2026-11 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
5- https://github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850
- https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3
- mailcow: dockerized 2026-11 Release Notes https://github.com/mailcow/mailcow-dockerized/releases/tag/2026-11
- GitHub Security Advisory (GHSA-jgr3-fv33-x43c) https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c
- VulnCheck Advisory: mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer https://www.vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-domain-wide-footer
Provider assertions
2VulnCheck · cna
mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4612693e594502016d8516da7cc42d232f81fb36884ee4119e5a95f476dcc410
- Ingested
- 10 Nov 2026, 16:41:04 UTC
- Source record
- Official CVE record