CVE-2026-40872: mailcow: dockerized vulnerable to stored XSS in autodiscover logs email address field

Published Apr 21, 2026
·
Updated

mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the admin dashboard's Autodiscover logs render the EMailAddress value (logged as the "user" field) without HTML escaping. By submitting an unauthenticated Autodiscover request with a crafted EMailAddress containing HTML/JS, the payload is stored in Redis and executed when an admin views the Autodiscover logs. Version 2026-03b fixes the vulnerability.

Affected Software

1 affected component
Mailcow mailcow: dockerized<2026-03b

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mailcow: dockerized to a version that resolves this vulnerability.

    Fixed in 2026-03b

Event History

Apr 21, 2026
CVE Published
via MITRE·07:14 PM
Data Sourced
via MITRE·07:14 PM
DescriptionWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-40872?

CVE-2026-40872 has a medium severity due to its stored XSS vulnerability affecting the Autodiscover logs in the admin dashboard.

2

How do I fix CVE-2026-40872?

To fix CVE-2026-40872, upgrade to Mailcow: dockerized version 2026-03b or later.

3

What versions are affected by CVE-2026-40872?

CVE-2026-40872 affects versions of Mailcow: dockerized prior to 2026-03b.

4

What type of vulnerability is CVE-2026-40872?

CVE-2026-40872 is classified as a stored cross-site scripting (XSS) vulnerability.

5

Who is affected by CVE-2026-40872?

Users and administrators of Mailcow: dockerized are affected by CVE-2026-40872 due to vulnerable Autodiscover log functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203