Read the docs
TI-2026-29531 Aliases CVE-2026-40875

mailcow: dockerized vulnerable to stored XSS in user login history real_rip

Priority MEDIUM 64CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00238 14th percentileScored 2026-11-07
Fix Fixed mailcow-dockerized (mailcow): 2026-03b

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mailcowmailcow-dockerizedbefore 2026-03b2026-03bPatch availableCNA
  • mailcow-dockerized Vendormailcow Affected before 2026-03b Fixed in 2026-03b Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:mailcow:mailcow\:*:*:*:*:*:*:*:*——mailcow
  • cpe:2.3:a:mailcow:mailcow\:*:*:*:*:*:*:*:* Versions — — ·mailcow

Remediation

  • Fix · CNA mailcow-dockerized (mailcow) Fixed in 2026-03b

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40875

References

  • TI-2026-29528 mailcow: dockerized vulnerable to stored XSS in autodiscover logs email address field CVSS 4.0CRITICAL 9.3
  • TI-2026-29529 mailcow: dockerized vulnerable to stored XSS in Quarantine attachment filenames CVSS 4.0HIGH 8.9
  • TI-2022-13182 OS Command Injection in mailcow CVSS 3.1HIGH 8.8
  • TI-2022-18634 mailcow-dockerized critical information misrepresentation can lead to phishing attacks through Swagger UI CVSS 3.1HIGH 8.2
  • TI-2026-06557 mailcow-dockerized 2026-03b - Stored XSS in Queue Manager via unescaped CVSS 4.0HIGH 7.4
  • TI-2026-29527 mailcow: dockerized vulnerable to Second Order SQL Injection in quarantine category via API CVSS 3.1HIGH 7.2
See all 22 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences