CVEfocus › CVE database › CVE-2026-40020

CVE-2026-40020

CVSS 3.1 LowEPSS 0.3% (higher than 14% of CVEs)Published 2026-05-12Updated 2026-05-12Assigner: OX

Attacker can use the IMAP SETACL command to inject the anyone permission to user's dovecot-acl file even if imap_acl_allow_anyone=no. This causes folders to be spammed to all users. The impact is limited to being able to spam folders to other users, no unexpected access is gained. Install to fixed version. No publicly available exploits are known.

CWE-284

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: 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

9Fixed
19Fix pending
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.04dovecotFixed1:2.4.2+dfsg1-3ubuntu2.1UBUNTU-CVE-2026-40020
Ubuntu 25.10dovecotFixed1:2.4.1+dfsg1-5ubuntu4.2UBUNTU-CVE-2026-40020
Ubuntu 24.04dovecotFixed1:2.3.21+dfsg1-2ubuntu6.5UBUNTU-CVE-2026-40020
Ubuntu 22.04dovecotFixed1:2.3.16+dfsg1-3ubuntu2.9UBUNTU-CVE-2026-40020
Ubuntu 20.04dovecotFix pendingUBUNTU-CVE-2026-40020
Ubuntu 18.04dovecotFix pendingUBUNTU-CVE-2026-40020
Ubuntu 16.04dovecotFix pendingUBUNTU-CVE-2026-40020
Ubuntu 14.04dovecotFix pendingUBUNTU-CVE-2026-40020
Debian 14dovecotFixed1:2.4.4+dfsg1-1DEBIAN-CVE-2026-40020
Debian 13dovecotFixed1:2.4.1+dfsg1-6+deb13u6DEBIAN-CVE-2026-40020
Debian 12dovecotFixed1:2.3.19.1+dfsg1-2.1+deb12u6DEBIAN-CVE-2026-40020
Red Hat Enterprise Linux 10dovecotWill not fix
Out of support scope
Red Hat Enterprise Linux 10dovecot-develWill not fix
Out of support scope
Red Hat Enterprise Linux 10dovecot-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 10dovecot-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 10dovecot-pigeonholeWill not fix
Out of support scope
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 6dovecotFix pending
Fix deferred
Red Hat Enterprise Linux 6dovecot-develFix pending
Fix deferred
Red Hat Enterprise Linux 6dovecot-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 6dovecot-pgsqlFix pending
Fix deferred
Red Hat Enterprise Linux 6dovecot-pigeonholeFix pending
Fix deferred
Alpine Linux 3.24dovecotFixed2.4.4-r0ALPINE-CVE-2026-40020
Alpine Linux 3.23dovecotFixed2.4.4-r0ALPINE-CVE-2026-40020

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.