CVE Database›Document archive›CVE-2026-42008

CVE-2026-42008

dovecot: Dovecot: Authentication bypass via trusted proxy forwarding

Loading…

Severity

Moderate

Red Hat Product Security

4.3

CVSS 3.1

Review impact separately from score.

Published · August 28, 2026

Updated · September 1, 2026

Description

A flaw was found in Dovecot. Forwarded information from a host listed as a trusted proxy is not properly separated from Dovecot's internal authentication fields. This allows a malicious host configured as a trusted proxy to inject values as internal authentication fields, enabling it to authenticate as any user without knowing their password. This vulnerability leads to unauthorized access and affects deployments where the password database honors a field that permits passwordless authentication.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, ensure that the auth_proxy_trusted_networks configuration in Dovecot is strictly limited to only trusted hosts that are fully under administrative control. Review and restrict the auth_proxy_trusted_networks setting in your Dovecot configuration (e.g., /etc/dovecot/conf.d/10-auth.conf or similar) to prevent unauthorized hosts from acting as trusted proxies. If trusted proxies are not required, remove this configuration entirely. A restart of the Dovecot service may be required for changes to take effect.

CVSS / CWE

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

CWE-349 · Acceptance of Extraneous Untrusted Data With Trusted Data