Live threats

All CVEs / Mailu

CVE-2026-85751Mailu

Authentication bypass via proxy spoofing in Mailu

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Sep 21, 2026
Updated
Sep 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-290, CWE-807
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Mailu versions 2.0 through 2024.06.55 and helm-charts prior to 2.7.3 trust a client-controlled X-Forwarded-By header when PROXY_AUTH_WHITELIST is configured but REAL_IP_HEADER is unset. An unauthenticated remote attacker can spoof the trusted proxy identity and bypass authentication.

Show the original NVD text

Mailu is a mail server distributed as a set of Docker images. From Mailu 2.0 until 2024.06.55 and prior to Mailu helm-charts 2.7.3, deployments with PROXY_AUTH_WHITELIST configured but REAL_IP_HEADER unset trusted a client-controlled X-Forwarded-By header for header-based proxy authentication. The proxy_hide_header directive in the nginx template at core/nginx/conf/proxy.conf hid the header from upstream responses but did not overwrite the incoming request value in this configuration. An unauthenticated remote attacker could therefore spoof the trusted proxy identity and bypass authentication. This issue is fixed in Mailu 2024.06.55 and Mailu helm-charts 2.7.3.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 2024.06.55, 2.7.3

Update Mailu to version 2024.06.55 or later, and helm-charts to 2.7.3 or later. Ensure REAL_IP_HEADER is properly configured in your deployment.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Mailu.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.