CVE Watchtower

CVE-2026-40878mailcow: dockerized

NVD

Vulnerability Summary

mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the mailcow web interface passes the raw `$_SERVER['REQUEST_URI']` to Twig as a global template variable and renders it inside a JavaScript string literal in the `setLang()` helper of `base.twig`, relying on Twig's default HTML auto-escaping instead of the context-appropriate `js` escaping strategy. In addition, the `query_string()` Twig helper merges all current `$_GET` parameters into the language-switching links on the login page, so attacker-supplied parameters are reflected and preserved across navigation. Version 2026-03b fixes the vulnerability.
Severity Level
LOW(2.1)
Published Date
Apr 21, 2026
Last Modified
Apr 22, 2026
PoC
Available(Nuclei)
Exploitation Status
Public exploit available
EPSS Score (30-Day)
5.70%Probability
Root Weakness (CWE)
N/A
CVSS v4.0 Base Metrics — Score 2.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionActive
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)Low
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • mailcow: dockerized < 2026-03b
Patched Versions
  • mailcow: dockerized >= 2026-03b

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run mailcow: dockerized and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Apr 21, 2026Published
  • Apr 22, 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-40878. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More mailcow: dockerized CVEs

Data last checked: Nov 21, 2026 01:16 UTC