CVE-2026-40205
Fixed in a distro release EPSS <1%CVSS 5.9
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.
Products: Open-Xchange GmbH OX Dovecot Pro, Open-Xchange GmbH OX Dovecot CE
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.23 | dovecot | 2.4.5-r0 |
| Alpine 3.24 | dovecot | 2.4.5-r0 |
| Debian 12 | dovecot | no fix |
| Debian 13 | dovecot | 1:2.4.1+dfsg1-6+deb13u7 |
| Debian 14 | dovecot | 1:2.4.5+dfsg1-1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise Server 16.0 | dovecot24 | 2.4.4-160000.2.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | dovecot23 | 2.3.21.1-150200.76.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | dovecot24 | 2.4.4-160000.2.1 |
| Ubuntu 16.04 LTS | dovecot | no fix |
| Ubuntu 18.04 LTS | dovecot | no fix |
| Ubuntu 20.04 LTS | dovecot | no fix |
| Ubuntu 22.04 LTS | dovecot | no fix |
| Ubuntu 24.04 LTS | dovecot | no fix |
| Ubuntu 26.04 LTS | dovecot | no fix |
| Ubuntu Pro 14.04 LTS | dovecot | no fix |
| openSUSE Leap 16.0 | dovecot24 | 2.4.4-160000.2.1 |
| openSUSE Tumbleweed | dovecot24 | 2.4.5-1.1 |