CVE-2026-40875mailcow: dockerized
NVD
Vulnerability Summary
mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the user dashboard's "Seen successful connections" (login history) renders the client IP from login logs without HTML escaping. Because the server trusts the X-Real-IP header as the source IP for logging, an attacker can inject HTML/JS into this field. This Self-XSS can be exploited by a Login CSRF to force the victim into the attacker's account, and then read emails in a previous browser tab. Version 2026-03b fixes the vulnerability.
CVSS v4.0 Base Metrics — Score 7.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredLow
User InteractionPassive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)High
Integrity (Subsequent System)High
Availability (Subsequent System)None
Affected & Patched Versions
- mailcow: dockerized < 2026-03b
- mailcow: dockerized >= 2026-03b
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run mailcow: dockerized and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Apr 21, 2026Published
- Apr 21, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new mailcow: dockerized CVEsYou are reading CVE-2026-40875. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore mailcow: dockerized CVEs
External References
Data last checked: Nov 21, 2026 01:16 UTC