Skip to content

CVE-2026-40205 dovecot: Dovecot: Authorization bypass via partially valid OAuth2 token

MediumCVSS 5.9 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known

Description

An attacker that holds an OAuth2 token granting only part of the required scopes can authenticate, because when more than one scope is required in the configuration, the remote token validation paths accept a token that carries only one of them, while the local token validation path correctly requires all of them. The configured authorization policy is not enforced, so a token that was granted only part of the required permissions is accepted where it should have been rejected. Use local token validation where tokens can be validated locally. Update to non-vulnerable version. No publicly available exploits are known.

Affected products

ProductAffected versionsFixed in
Open-Xchange GmbH OX Dovecot Pro >= 2.3.11.2, < 2.3.22.2 2.3.22.2
Open-Xchange GmbH OX Dovecot Pro >= 3.0.0, < 3.0.7 3.0.7
Open-Xchange GmbH OX Dovecot Pro >= 3.1.0, < 3.1.6 3.1.6
Open-Xchange GmbH OX Dovecot CE >= 2.3.11.2, < 2.4.5 2.4.5
redhat/dovecot(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/dovecot(Red Hat:rhel_els:6) All versions No fix listed
redhat/dovecot(Red Hat:rhel_els:7) All versions No fix listed
redhat/dovecot(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/dovecot(Red Hat:enterprise_linux:9) All versions No fix listed
debian/dovecot(Debian:12) < 1:2.3.19.1+dfsg1-2.1+deb12u7 1:2.3.19.1+dfsg1-2.1+deb12u7
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u1 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u2 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u3 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u4 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u5 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u6 No fix listed
debian/dovecot(Debian:13) < 1:2.4.1+dfsg1-6+deb13u7 1:2.4.1+dfsg1-6+deb13u7
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u1 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u2 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u3 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u4 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u5 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u6 No fix listed
Show 18 more
ProductAffected versionsFixed in
debian/dovecot(Debian:14) < 1:2.4.5+dfsg1-1 1:2.4.5+dfsg1-1
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-6 No fix listed
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-7 No fix listed
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-8 No fix listed
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-9 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-1 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-2 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-3 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-4 No fix listed
debian/dovecot(Debian:14) = 1:2.4.3+dfsg1-1 No fix listed
debian/dovecot(Debian:14) = 1:2.4.3+dfsg1-2 No fix listed
debian/dovecot(Debian:14) = 1:2.4.4+dfsg1-1 No fix listed
debian/dovecot(Debian:14) = 1:2.4.4+dfsg1-2 No fix listed
ubuntu/dovecot(Ubuntu:22.04) All versions No fix listed
alpine/dovecot(Alpine:v3.23) < 2.4.5-r0 2.4.5-r0
alpine/dovecot(Alpine:v3.24) < 2.4.5-r0 2.4.5-r0
ubuntu/dovecot(Ubuntu:24.04) All versions No fix listed
ubuntu/dovecot(Ubuntu:26.04) All versions No fix listed

References