cve.bz

CVE-2026-40020 Improper Access Control

4.3 mediumEPSS 0.3%

Medium (4.3). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40020 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40020?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40020?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40020 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-40020

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-40020](https://cve.bz/cve/badge/CVE-2026-40020.svg)](https://cve.bz/cve/CVE-2026-40020)

HTML:

<a href="https://cve.bz/cve/CVE-2026-40020"><img src="https://cve.bz/cve/badge/CVE-2026-40020.svg" alt="CVE-2026-40020"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Open-Xchange GmbH OX Dovecot Prothrough 2.3.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12dovecot1:2.3.19.1+dfsg1-2.1+deb12u6DEBIAN-CVE-2026-40020
Debian13dovecot1:2.4.1+dfsg1-6+deb13u6DEBIAN-CVE-2026-40020
Debian14dovecot1:2.4.4+dfsg1-1DEBIAN-CVE-2026-40020
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 moredovecotno fix listedUBUNTU-CVE-2026-40020
Ubuntu22.04:LTSdovecot1:2.3.16+dfsg1-3ubuntu2.9UBUNTU-CVE-2026-40020
Ubuntu24.04:LTSdovecot1:2.3.21+dfsg1-2ubuntu6.5UBUNTU-CVE-2026-40020
Ubuntu25.10dovecot1:2.4.1+dfsg1-5ubuntu4.2UBUNTU-CVE-2026-40020
Ubuntu26.04:LTSdovecot1:2.4.2+dfsg1-3ubuntu2.1UBUNTU-CVE-2026-40020
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moredovecot232.3.21.1-150200.76.1SUSE-SU-2026:4139-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5dovecot222.2.31-19.37.2SUSE-SU-2026:2645-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0dovecot242.4.4-160000.1.1SUSE-SU-2026:22185-1
openSUSELeap 16.0dovecot242.4.4-160000.1.1openSUSE-SU-2026:21109-1
openSUSETumbleweeddovecot242.4.4-1.1openSUSE-SU-2026:10766-1
Alpinev3.23, v3.24dovecot2.4.4-r0ALPINE-CVE-2026-40020
Azure Linux3dovecotno fix listedAZL-86808

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10dovecotOut of support scope
Red Hat Enterprise Linux 6dovecotFix deferred
Red Hat Enterprise Linux 8dovecotFix deferred
Red Hat Enterprise Linux 9dovecotFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40020.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON