CVE-2026-40020: dovecot Improper Access Control
Vulnerability summary
CVE-2026-40020 is a medium (CVSS 4.3) Improper Access Control vulnerability in dovecot. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 5 · Related 6Timeline
- 12-05-2026PublishedVulnerability first disclosed.
- 12-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
+0.03 pp
From 0.26% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- dovecot< 2.4.4-r0
Debian1 product
- dovecot< 1:2.3.19.1+dfsg1-2.1+deb12u6 | < 1:2.4.1+dfsg1-6+deb13u6 | < 1:2.4.4+dfsg1-1
Dovecot1 product
- dovecot< 2.4.4
Open-xchange1 product
- dovecot< 3.1.5
Open-xchange gmbh1 product
- ox dovecot pro≤ 2.3.0
Ubuntu1 product
- dovecotAll versions (No fix recorded) | < 1:2.3.16+dfsg1-3ubuntu2.9 | < 1:2.3.21+dfsg1-2ubuntu6.5 | < 1:2.4.1+dfsg1-5ubuntu4.2 | < 1:2.4.2+dfsg1-3ubuntu2.1
6 vendors · 6 products