Description
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.
Published: 2026-09-21
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: Authentication Bypass
Action: Patch Now
AI Analysis

Impact

The vulnerability allows an attacker to spoof the identity of a trusted proxy by sending a crafted X-Forwarded-By header, thereby bypassing the authentication controls that rely on header‑based proxy authentication. This results in unauthorized access to the mail server, enabling retrieval or manipulation of mail data.

Affected Systems

Mailu mail server deployed via Docker images, versions 2.0 through 2024.06.55, and Mailu helm‑charts prior to 2.7.3, when the configuration includes PROXY_AUTH_WHITELIST while REAL_IP_HEADER is not set. These settings cause the application to accept the X‑Forwarded‑By header as a trusted proxy identifier.

Risk and Exploitability

The CVSS score of 9.8 reflects a critical severity. EPSS is not available, and the vulnerability is not listed in KEV, but a remote attacker can exploit it over the network by injecting a header into an HTTP request. Based on the description, the likely attack vector is remote HTTP header injection, potentially allowing unrestricted access to the mail service without authentication. Immediate remediation is required.

Generated by OpenCVE AI on September 21, 2026 at 16:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Mailu to version 2024.06.55 or newer, and Helm charts to 2.7.3 or newer.
  • If immediate upgrade is not feasible, set REAL_IP_HEADER to a value that matches the actual reverse proxy IP, and ensure PROXY_AUTH_WHITELIST is only enabled for trusted sources.
  • Avoid relying on X-Forwarded-By for authentication; remove or disable header‑based proxy authentication until the vulnerability is patched.

Generated by OpenCVE AI on September 21, 2026 at 16:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Mailu: Authentication bypass in header-based proxy authentication via spoofable `X-Forwarded-By` trust
Weaknesses CWE-290
CWE-807
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-21T15:39:24.774Z

Reserved: 2026-09-04T14:50:16.721Z

Link: CVE-2026-85751

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-21T16:17:25.070

Modified: 2026-09-21T16:17:25.070

Link: CVE-2026-85751

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T16:30:11Z

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-807

    Reliance on Untrusted Inputs in a Security Decision