| Name | CVE-2026-40020 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6313-1 |
| Debian Bugs | 1136444 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| dovecot (PTS) | bullseye | 1:2.3.13+dfsg1-2+deb11u1 | vulnerable |
| bullseye (security) | 1:2.3.13+dfsg1-2+deb11u3 | vulnerable | |
| bookworm | 1:2.3.19.1+dfsg1-2.1+deb12u5 | vulnerable | |
| bookworm (security) | 1:2.3.19.1+dfsg1-2.1+deb12u6 | fixed | |
| trixie | 1:2.4.1+dfsg1-6+deb13u5 | vulnerable | |
| trixie (security) | 1:2.4.1+dfsg1-6+deb13u6 | fixed | |
| forky, sid | 1:2.4.4+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| dovecot | source | bookworm | 1:2.3.19.1+dfsg1-2.1+deb12u6 | DSA-6313-1 | ||
| dovecot | source | trixie | 1:2.4.1+dfsg1-6+deb13u6 | DSA-6313-1 | ||
| dovecot | source | (unstable) | 1:2.4.4+dfsg1-1 | 1136444 |
https://www.openwall.com/lists/oss-security/2026/05/12/6
Fixed by: https://github.com/dovecot/core/commit/b7daa4104ff064c1fb549540cc9d96c2d9e2509c (2.4.4)
Fixed by: https://github.com/dovecot/core/commit/20b48c3db5fed7ccaa8e0a4c10ca54f6dc36a63d (2.4.4)
Fixed by: https://github.com/dovecot/core/commit/1cf6ad1a119e5dace816e401e73ba6cc11d1472e (2.4.4)