Skip to main content

OX Dovecot Pro CVE-2026-40205

| EUVDEUVD-2026-67671 MEDIUM
Improper Authentication (CWE-287)
2026-08-28 OX GHSA-8rjh-g9p7-rx87
5.9
CVSS 3.1 · Vendor: OX
View

Attack ChainAIDerived

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

  1. Access
    Obtain partial-scope OAuth2 token from authorization server
  2. Delivery
    Target Dovecot instance using remote token validation
  3. Exploit
    Submit token missing required scopes
  4. Execution
    Remote validator accepts single-scope token
  5. Persist
    Access operations beyond authorized scope
  6. Impact
    Perform unauthorized write or restricted mail operations

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

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

Exploitation Conditions

Three specific conditions must all be present for exploitation: (1) Dovecot must be configured with an OAuth2 authorization policy requiring more than one scope (single-scope configurations are not affected); (2) the Dovecot instance must be using the remote token validation path rather than local token validation - deployments already using local validation are not vulnerable; (3) the attacker must possess a valid OAuth2 token carrying at least one, but not all, of the required scopes, meaning they must be a known principal in the authorization server with at least some legitimately granted access. What limits exploitation: the attacker cannot be fully unauthenticated (PR:L), the misconfiguration of multi-scope with remote validation must be present (AC:H), and the scope discrepancy must be meaningful enough to unlock additional capabilities. There is no requirement for user interaction and no platform restriction beyond the affected Dovecot product.

Impact

The CVSS 5.9 Medium score is derived from AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N, which accurately reflects the conditional nature of this flaw. High Attack Complexity (AC:H) is appropriate because two non-default conditions must coincide: Dovecot must be configured to require multiple OAuth2 scopes, and the deployment must rely on remote (not local) token validation. PR:L correctly captures that the attacker must already possess a legitimately issued OAuth2 token - even a narrowly scoped one - meaning fully unauthenticated attackers are excluded. The High Integrity impact (I:H) is the most consequential signal: an attacker can perform write-level or otherwise restricted mail operations that their token should not authorize. No EPSS score is available in the input data. There is no CISA KEV listing and no public exploit code - the vendor itself states no publicly available exploits are known. The real-world priority is moderate: organizations with multi-scope OAuth2 Dovecot deployments using remote validation should treat this as an urgent configuration or patch action, while those using local validation or single-scope configurations are not affected.

Exploit ScenarioDerived

An attacker is issued a legitimate OAuth2 token by the authorization server granting only a read scope, when Dovecot is configured to require both read and write scopes for access. By submitting this partial-scope token to a Dovecot instance using remote token validation, the attacker bypasses the multi-scope enforcement and gains write-level mail access - deleting, moving, or modifying messages - that the token should not have authorized. No public exploit code is known, but the attack requires only a valid OAuth2 client credential and knowledge of the target's scope configuration.

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

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

Alert me

AnalysisAIv1 – Aug 28, 2026

OAuth2 multi-scope enforcement bypass in OX Dovecot Pro and CE allows an attacker holding a partial-scope OAuth2 token to authenticate and perform operations beyond their granted permissions via the remote token validation path. The remote validation logic incorrectly accepts a token carrying only one of several required scopes, while the local validation path correctly enforces all configured scope requirements - creating an inconsistency exploitable by any holder of a legitimately issued but insufficiently scoped token. No public exploit identified at time of analysis; CVSS 5.9 Medium with high integrity impact reflects a real but configuration-gated privilege escalation risk.

RemediationAI

The vendor advisory (OXDC-ADV-2026-0003, available at https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0003.json) recommends two actions: update to the non-vulnerable version, and use local token validation where tokens can be validated locally. The exact patched version number is not specified in the available input data - administrators must consult the CSAF advisory directly for the precise fix release. As an immediate compensating control, switching from remote to local token validation eliminates the vulnerable code path entirely; however, this requires that the deployment has access to the necessary key material (e.g., the authorization server's public key) to perform local JWT verification, which may require infrastructure changes if tokens are issued by an external IdP without published JWKS endpoints. Deployments that cannot switch to local validation should apply the vendor patch as the primary remediation.

Affected VersionsENISA

OX Dovecot Pro 3.1.0 <3.1.6
OX Dovecot Pro 3.0.0 <3.0.7
OX Dovecot CE 2.3.11.2 <2.4.5
OX Dovecot Pro 2.3.11.2 <2.3.22.2

Affected Packages

euvd ox_dovecot_ce fix: 2.4.5
euvd ox_dovecot_pro fix: 2.3.22.2, 3.0.7, 3.1.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages 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 a widely-deployed open-source IMAP/POP3 mail server; OX Dovecot Pro and CE are commercial and community editions maintained by Open-Xchange GmbH (CPE: cpe:2.3:a:open-xchange_gmbh:ox_dovecot_pro:*:*:*:*:*:*:*:* and cpe:2.3:a:open-xchange_gmbh:ox_dovecot_ce:*:*:*:*:*:*:*:*). The affected feature is the OAuth2 token authentication mechanism. Dovecot supports two validation paths: local (validates the token using locally available key material) and remote (delegates validation to an external introspection endpoint). CWE-287 (Improper Authentication) applies here because the authorization policy - requiring all configured scopes - is not uniformly enforced across both paths. The remote path performs an incomplete check, treating the presence of any one required scope as sufficient, whereas the correct behavior is a logical AND over all required scopes. This is a logic flaw in the scope comparison routine of the remote introspection handler, not a cryptographic weakness.

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

Vendor (OX) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
vuln.today AI 5.9 MEDIUM

AV:N for remote token submission; AC:H for required multi-scope plus remote-validation configuration; PR:L for mandatory pre-existing partial OAuth2 token; I:H for unauthorized write-scope operations.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.9 MEDIUM

Primary rating from Vendor (OX).

CVSS VectorVendor: OX

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

Lifecycle Timeline

1
Patch available
Aug 28, 2026 - 13:17 EUVD

DescriptionCVE.org

An attacker that holds an OAuth2 token granting only part of the required scopes can authenticate, because when more than one scope is required in the configuration, the remote token validation paths accept a token that carries only one of them, while the local token validation path correctly requires all of them. The configured authorization policy is not enforced, so a token that was granted only part of the required permissions is accepted where it should have been rejected. Use local token validation where tokens can be validated locally. Update to non-vulnerable version. No publicly available exploits are known.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche commercial mail server, Open-Xchange enterprise customer base only
Data Quality
7 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.2%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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-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-27860 LOW POC
3.7 Mar 27

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

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

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected

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