CVE-2026-40875: mailcow-dockerized · Cross-site Scripting
Affects mailcow-dockerizedSource CVE Database V5
Not known to be exploited · CVSS 7.0 High : upgrade to 2026-03b soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2026-03b
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade mailcow-dockerized to 2026-03b.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mailcowmailcow-dockerized | Affected
| Fixed in
|
AI-suggested
Upgrade mailcow-dockerized to version 2026-03b or later, where this vulnerability is fixed. Until upgraded, be cautious of login CSRF attacks and untrusted X-Real-IP headers. Patch status is not explicitly confirmed beyond the version fix mention; check vendor sources for current remediation guidance.
Description
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.