Vulnerabilities/

CVE-2026-85751

CVE

CVE-2026-85751

Mailu: Authentication bypass in header-based proxy authentication via spoofable `X-Forwarded-By` trust

Severity

Critical

Base CVSS

9.8

Fixed in

ff4003d045753013470945336448dbd790cac778

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 PROXYAUTHWHITELIST configured but REALIPHEADER unset trusted a client-controlled X-Forwarded-By header for header-based proxy authentication. The proxyhideheader 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.

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9.8

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

OSV

0

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Endor Labs

Required action

Known ransomware campaign use

References

https://github.com/Mailu/Mailu/releases/tag/2024.06.55, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85751.json, https://github.com/Mailu/Mailu/security/advisories/GHSA-rfhj-4wcq-74xg, https://nvd.nist.gov/vuln/detail/CVE-2026-85751, 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

Basic information

Base CVSS

9.8

EPSS probability

0.0

EPSS percentile

0.47839

Introduced version

d65b15abb73eeca0516de0ec3582441debab70de

Fix available

ff4003d045753013470945336448dbd790cac778

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.