CVE-2026-85751
published critical CVSS 3.1 · 9.8Mailu: Authentication bypass in header-based proxy authentication via spoofable `X-Forwarded-By` trust
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Mailu | Mailu | >= 2.0.0, < 2024.06.55 (affected) | GitHub_M · cna |
| Mailu | helm-charts | < 2.7.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-290 CWE-290: Authentication Bypass by Spoofing
- CWE-807 CWE-807: Reliance on Untrusted Inputs in a Security Decision
References
6- https://github.com/Mailu/Mailu/commit/dffa97cbd889ab208246372ce9c86e99abb27ae9
- https://github.com/Mailu/Mailu/commit/ff4003d045753013470945336448dbd790cac778
- https://github.com/Mailu/Mailu/pull/4070
- https://github.com/Mailu/Mailu/pull/4071
- https://github.com/Mailu/Mailu/releases/tag/2024.06.55
- https://github.com/Mailu/Mailu/security/advisories/GHSA-rfhj-4wcq-74xg
Provider assertions
2GitHub_M · cna
Mailu: Authentication bypass in header-based proxy authentication via spoofable `X-Forwarded-By` trust
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 95f01731fe29d1013ccc3775a59a0a9186f1157b168c55c12bf9e3d24710f86e
- Ingested
- 23 Sep 2026, 09:37:04 UTC
- Source record
- Official CVE record