CVE-2026-125757 json
mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer
published yesterday modified yesterday also EUVD-2026-121240 , GHSA-jgr3-fv33-x43c
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository mailcow/mailcow-dockerized. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- mailcow mailcow: dockerized 2026-11
Is CVE-2026-125757 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- yesterday
Exploit prediction
0.82% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.4 | 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 |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| CNA | 4.0 | 9.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- mailcow mailcow: dockerized
Classification
- Weakness
-
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
-
github.com
/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3
patch
-
github.com
/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c
vendor-advisory, exploit, advisory
-
github.com
/mailcow/mailcow-dockerized/releases/tag/2026-11
release-notes
-
github.com
/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lu
technical-description
-
vulncheck.com
/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-domain-wide-footer
third-party-advisory
Sources
- CVE List CVE-2026-125757
- NVD CVE-2026-125757
- Maintainer advisory GHSA-jgr3-fv33-x43c
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of mailcow/mailcow-dockerized published their own advisory on GitHub. Reviewed sources take precedence over it.