CVEfocus › CVE database › CVE-2026-40205

CVE-2026-40205

CVSS 5.9 MediumEPSS 0.2% (higher than 8% of CVEs)Published 2026-08-28Updated 2026-08-28Assigner: OX

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.

CWE-287

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
24Fix pending
3Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04dovecotUnder investigationUBUNTU-CVE-2026-40205
Ubuntu 24.04dovecotUnder investigationUBUNTU-CVE-2026-40205
Ubuntu 22.04dovecotUnder investigationUBUNTU-CVE-2026-40205
Ubuntu 20.04dovecotFix pendingUBUNTU-CVE-2026-40205
Ubuntu 18.04dovecotFix pendingUBUNTU-CVE-2026-40205
Ubuntu 16.04dovecotFix pendingUBUNTU-CVE-2026-40205
Ubuntu 14.04dovecotFix pendingUBUNTU-CVE-2026-40205
Debian 14dovecotFixed1:2.4.5+dfsg1-1DEBIAN-CVE-2026-40205
Debian 13dovecotFixed1:2.4.1+dfsg1-6+deb13u7DEBIAN-CVE-2026-40205
Debian 12dovecotFixed1:2.3.19.1+dfsg1-2.1+deb12u7DEBIAN-CVE-2026-40205
Red Hat Enterprise Linux 10dovecotFix pending
Fix deferred
Red Hat Enterprise Linux 10dovecot-develFix pending
Fix deferred
Red Hat Enterprise Linux 10dovecot-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 10dovecot-pgsqlFix pending
Fix deferred
Red Hat Enterprise Linux 10dovecot-pigeonholeFix pending
Fix deferred
Red Hat Enterprise Linux 9dovecotFix pending
Fix deferred
Red Hat Enterprise Linux 9dovecot-develFix pending
Fix deferred
Red Hat Enterprise Linux 9dovecot-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 9dovecot-pgsqlFix pending
Fix deferred
Red Hat Enterprise Linux 9dovecot-pigeonholeFix pending
Fix deferred
Red Hat Enterprise Linux 8dovecotFix pending
Fix deferred
Red Hat Enterprise Linux 8dovecot-develFix pending
Fix deferred
Red Hat Enterprise Linux 8dovecot-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 8dovecot-pgsqlFix pending
Fix deferred
Red Hat Enterprise Linux 8dovecot-pigeonholeFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecotFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-develFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-pgsqlFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-pigeonholeFix pending
Fix deferred
Red Hat Enterprise Linux 6dovecotWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-pigeonholeWill not fix
Out of support scope
Alpine Linux 3.24dovecotFixed2.4.5-r0ALPINE-CVE-2026-40205
Alpine Linux 3.23dovecotFixed2.4.5-r0ALPINE-CVE-2026-40205

What the vendor says

As published in the CVE record by OX, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.