CVE Database›Document archive›CVE-2026-40205

CVE-2026-40205

dovecot: Dovecot: Authorization bypass via partially valid OAuth2 token

Loading…

Severity

Moderate

Red Hat Product Security

5.9

CVSS 3.1

Review impact separately from score.

Published · August 28, 2026

Updated · September 1, 2026

Description

A flaw was found in Dovecot. An attacker with a partially valid OAuth2 token can bypass authorization checks in remote token validation paths. This allows the attacker to authenticate with insufficient permissions, leading to a breach of integrity where the configured authorization policy is not properly enforced.

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, configure Dovecot to use local OAuth2 token validation instead of remote validation. This ensures that all required scopes are correctly enforced during authentication, preventing unauthorized access with partially valid tokens. Consult Dovecot documentation for specific configuration steps to enable local token validation. A service restart may be required for the changes to take effect.

CVSS / CWE

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

CWE-303 · Incorrect Implementation of Authentication Algorithm