Skip to main content

Mailu EUVDEUVD-2026-83975

| CVE-2026-85751 CRITICAL
Authentication Bypass by Spoofing (CWE-290)
2026-09-21 GitHub_M
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Mailu front-end using proxy auth
  2. Delivery
    Send request with forged X-Forwarded-By header
  3. Exploit
    nginx passes spoofed value upstream unmodified
  4. Execution
    Trusted proxy identity accepted
  5. Persist
    Authenticate without credentials
  6. Impact
    Access mailboxes/admin as any user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a Mailu deployment (2.0 through 2024.06.55, or helm-charts before 2.7.3) that has PROXY_AUTH_WHITELIST configured to enable header-based proxy authentication AND has REAL_IP_HEADER left unset. Under exactly this combination, nginx's proxy.conf hid X-Forwarded-By from upstream responses but never overwrote the incoming client-supplied value, so an attacker-supplied X-Forwarded-By is trusted. This is NOT the default configuration: installations that do not use proxy auth, or that set REAL_IP_HEADER, are unaffected. Once the vulnerable config is present, no authentication, no user interaction, and no special client position are needed - a single forged HTTP header from any remote host bypasses authentication.

Impact

The vendor CVSS of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects a full unauthenticated remote authentication bypass, and the vector is internally consistent with CWE-290 (Authentication Bypass by Spoofing): a client-controlled X-Forwarded-By header is trusted for header-based proxy authentication. However, the raw 9.8 overstates real-world exposure because exploitation is strictly gated on a non-default configuration - PROXY_AUTH_WHITELIST must be set AND REAL_IP_HEADER must be left unset. Deployments not using header-based proxy auth, or that correctly set REAL_IP_HEADER, are not affected, so this is an environmental precondition the base score cannot express. No EPSS score, no CISA KEV listing, and no public POC are present in the provided data, so there is no signal of active or imminent mass exploitation; the technique itself (spoofing an HTTP header) is trivial once the vulnerable config is present. Net: a genuinely serious, easily-weaponized flaw FOR THE SUBSET of Mailu operators running proxy auth without REAL_IP_HEADER, but not a universal 'patch-everything-now' emergency for all Mailu installs. Treat as high priority specifically for deployments using PROXY_AUTH_WHITELIST.

Exploit ScenarioDerived

A Mailu operator has enabled header-based proxy authentication via PROXY_AUTH_WHITELIST but did not set REAL_IP_HEADER. An unauthenticated remote attacker sends an HTTP request to the exposed Mailu front-end with a forged X-Forwarded-By header matching a trusted proxy identity; because nginx hid the header from responses but never overwrote the incoming request value, the attacker is treated as the trusted proxy and is authenticated without credentials. No public POC is referenced in the provided data, but the exploit is a single crafted request requiring low complexity.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 21, 2026

Authentication bypass in Mailu 2.0 through 2024.06.55 and Mailu helm-charts before 2.7.3 allows unauthenticated remote attackers to spoof the trusted proxy identity via a client-controlled X-Forwarded-By header, bypassing header-based proxy authentication. This affects only deployments with PROXY_AUTH_WHITELIST configured and REAL_IP_HEADER unset; default configurations are not vulnerable. The vendor has released fixes in Mailu 2024.06.55 and helm-charts 2.7.3, and no public exploit has been identified at time of analysis.

RemediationAI

Upgrade to Mailu 2024.06.55 or later, and to Mailu helm-charts 2.7.3 or later, to obtain the vendor-released patch that sets X-Forwarded-By to $remote_addr in the nginx proxy configuration. If an immediate upgrade is not possible, a workaround is to manually add 'proxy_set_header X-Forwarded-By $remote_addr;' to the nginx proxy.conf in affected deployments, which overwrites spoofed client values; this requires rebuilding or modifying the container and may be overwritten by updates. Alternatively, if header-based proxy authentication is not needed, remove PROXY_AUTH_WHITELIST from the configuration to eliminate the attack vector, though this may disable SSO or proxy-based access controls. Setting REAL_IP_HEADER to a trusted value (e.g., X-Forwarded-For) also mitigates the issue by changing how the real client IP is derived, but it must be configured consistently with the front-end proxy to avoid breaking client IP logging. For full details, refer to the advisory at https://github.com/Mailu/Mailu/security/advisories/GHSA-rfhj-4wcq-74xg and the fix commits.

Affected VersionsENISA

Mailu 2.0.0, < 2024.06.55
helm-charts < 2.7.3

Affected Packages

euvd helm_charts fix: 2.7.3
euvd mailu_2_0_0 fix: 2024.06.55

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is an authentication bypass by spoofing (CWE-290) in the nginx reverse proxy configuration shipped with Mailu, a Docker-based mail server suite. Mailu versions 2.0 through 2024.06.55 and Mailu helm-charts before 2.7.3 use an nginx template at core/nginx/conf/proxy.conf that, when PROXY_AUTH_WHITELIST is configured for header-based proxy authentication and REAL_IP_HEADER is unset, fails to overwrite the incoming X-Forwarded-By header. The proxy_hide_header directive removed the header from upstream responses but did not set it on requests, so a remote client could supply an arbitrary X-Forwarded-By value that the backend trusted as the proxy identity. The fix adds proxy_set_header X-Forwarded-By $remote_addr; to overwrite the header with the actual direct client IP, ensuring spoofed values are ignored. Affected products per CPE include cpe:2.3:a:mailu:mailu and cpe:2.3:a:mailu:helm-charts.

Know when Mailu gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Once the vulnerable proxy-auth config exists, a single spoofed header from any remote unauthenticated host yields full account/admin access; the config prerequisite is environmental, not a base-metric factor.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 21, 2026 - 17:02 EUVD
CVE Published
Sep 21, 2026 - 15:39 cve.org
CRITICAL 9.8

DescriptionCVE.org

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.

Technical POC Analysis

This is CWE-290 Authentication Bypass by Spoofing; the advisory also tags CWE-807 Reliance on Untrusted Inputs in a Security Decision.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Mailu email server versions 2.0 through 2024.06.55 and helm-charts before 2.7.3 contain a critical authentication bypass (CVE-2026-85751) that allows attackers to spoof trusted proxy identity in specific configurations. Organizations using PROXY_AUTH_WHITELIST without REAL_IP_HEADER are at risk of unauthorized access to email services, potentially leading to data exposure and operational disruption. Leadership should ensure immediate patching to mitigate this high-risk vulnerability.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Prevalence
Low
self-hosted Docker mail server, popular in hobbyist niche, small production footprint
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy