Skip to main content

OX Dovecot Pro CVE-2026-40020

| EUVDEUVD-2026-29471 MEDIUM
Improper Access Control (CWE-284)
2026-05-12 OX GHSA-h6rp-9mjf-6x88
4.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with valid IMAP credentials
  2. Delivery
    Connect to mail server
  3. Exploit
    Issue SETACL command with anyone identifier
  4. Install
    Bypass imap_acl_allow_anyone=no check
  5. C2
    Inject anyone permission into dovecot-acl file
  6. Execute
    Folder becomes accessible to all users
  7. Impact
    Spam or malicious content delivered to all users

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) valid IMAP credentials for any user account on the OX Dovecot Pro server; (2) access to issue IMAP SETACL commands (standard IMAP4rev1 client capability); (3) a mailbox folder on which the attacker has sufficient permissions to execute SETACL (typically their own folders or delegated mailboxes). The vulnerability only manifests when imap_acl_allow_anyone is explicitly set to 'no' in the Dovecot configuration-if the setting is not present or is left at default, the bypass does not apply. No special network conditions, user interaction, or non-default features are required beyond valid authentication.

Impact

This vulnerability presents a low-to-moderate real-world risk despite its low CVSS score of 3.1. The attack vector is network-accessible and requires low authentication (PR:L), but the attack complexity is high (AC:H), which explains the low numeric score. The primary mitigating factor is that exploitation requires valid IMAP credentials-an attacker cannot conduct this attack unauthenticated. The availability impact is limited (A:L) as the vulnerability enables spam/disruption rather than data breach or system compromise. No KEV status is provided and no public exploits are known, indicating this is not currently being actively weaponized. However, the vulnerability directly contradicts administrator intent by allowing bypass of a specific security configuration, which may be prioritized in environments where mail integrity and user experience are critical. The high attack complexity (AC:H) suggests either timing constraints, specific configuration requirements, or exploitation difficulty that reduces likelihood compared to network attacks with AC:L. Organizations with strict email governance policies should prioritize patching; others may defer until routine maintenance windows.

Exploit ScenarioDerived

An authenticated user with valid IMAP credentials connects to the mail server and issues a crafted SETACL command on a mailbox folder, specifying the 'anyone' identifier with read or deliver permissions despite the server configuration setting imap_acl_allow_anyone=no. The command bypasses the configuration check and injects the permission into the dovecot-acl file. Subsequently, all users with access to the shared folder receive spam or unwanted messages delivered to that folder.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 12, 2026

OX Dovecot Pro is vulnerable to IMAP SETACL command injection that allows authenticated users to bypass the imap_acl_allow_anyone configuration setting and inject the anyone permission into dovecot-acl files, enabling spam of mailbox folders to all users. The vulnerability requires authentication and elevated complexity conditions (CVSS 3.1), and no public exploits are known at the time of analysis.

RemediationAI

Upgrade OX Dovecot Pro to the fixed version specified in the OX security advisory at https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0002.json. Until patching is possible, administrators can enforce mitigation by restricting IMAP access to trusted users only via firewall rules or authentication-based access controls, or by implementing mail flow policies that prevent excessive folder sharing requests. However, these workarounds do not eliminate the vulnerability itself, only reduce exposure surface. A secondary mitigation is to audit existing dovecot-acl files for unexpected 'anyone' entries and remove them manually, though this must be repeated until the patch is applied.

Affected VersionsENISA

OX Dovecot Pro 0 ≤2.3.0

Affected Packages

euvd ox_dovecot_pro no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dovecot is an open-source IMAP/POP3 mail server that implements the IMAP4rev1 Access Control List (ACL) extension (RFC 4314) to manage per-folder permissions. The vulnerability exists in Dovecot Pro's SETACL command implementation, which is intended to allow users to modify access control lists for their mailboxes. The imap_acl_allow_anyone configuration option is designed to restrict whether the special 'anyone' identifier-representing all users-can be granted permissions. The flaw allows an authenticated attacker to inject the 'anyone' permission into the dovecot-acl file even when the administrator has explicitly disabled this feature via imap_acl_allow_anyone=no, circumventing the intended access control policy (CWE-284: Improper Access Control). The impact is limited to mail delivery disruption via spam rather than unauthorized access to protected data.

Know when Ox Dovecot Pro gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Red Hat 6.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

3
Severity Changed
Oct 26, 2026 - 18:23 NVD
LOW MEDIUM
CVSS changed
Oct 26, 2026 - 18:23 NVD
3.1 (LOW) 4.3 (MEDIUM)
CVE Published
May 12, 2026 - 13:28 nvd
LOW 3.1

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-27860 MEDIUM POC
5.3 Mar 27

Open-Xchange Dovecot Pro contains an LDAP filter injection vulnerability in its authentication module that allows remote

CVE-2026-42007 CRITICAL
9.1 Aug 28

Use-after-free in the OX Dovecot Pro and Dovecot CE mail-editing code lets an authenticated user who can install a Sieve

CVE-2026-27851 CRITICAL
9.1 May 12

Authentication-layer injection in OX Dovecot Pro (versions up to and including 2.4.3 and 3.1.4) arises from a flaw in th

CVE-2026-24031 HIGH
8.2 Mar 27

Authentication bypass and user enumeration in OX Dovecot Pro (versions up to and including 3.1.0 and the 2.4.x line up t

CVE-2026-42391 HIGH
7.5 Aug 28

Denial of service in OX Dovecot Pro and OX Dovecot CE allows unauthenticated remote attackers to exhaust memory and CPU

CVE-2026-33605 HIGH
7.5 Aug 28

ManageSieve login process in OX Dovecot CE and Pro crashes on receipt of a small malformed pre-authentication command, e

CVE-2026-27852 HIGH
7.5 Aug 28

Memory exhaustion in OX Dovecot Pro and OX Dovecot CE allows any remote sender to deny IMAP service to a targeted user b

CVE-2025-59028 HIGH
7.5 Mar 27

Unauthenticated remote attackers can disrupt authentication on OX Dovecot Pro servers by sending malformed base64 SASL d

CVE-2025-59032 HIGH
7.5 Mar 27

OX Dovecot Pro ManageSieve service crashes when processing AUTHENTICATE commands with SASL initial responses using liter

CVE-2026-27858 HIGH
7.5 Mar 27

OX Dovecot Pro managesieve-login process crashes repeatedly due to memory exhaustion triggered by unauthenticated attack

CVE-2026-27857 HIGH
7.5 Mar 27

Remote memory-exhaustion denial of service in OX Dovecot Pro (versions up to and including 2.3.0) lets an unauthenticate

CVE-2026-40018 HIGH
7.4 Aug 28

SQL injection in Open-Xchange OX Dovecot Pro and OX Dovecot CE enables unauthenticated remote attackers, under high-comp

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy