CVE-2026-0394

MEDIUM

OX Dovecot Pro - Path Traversal via Per-Domain Passwd File Configuration

Title source: llm
STIX 2.1

Description

When dovecot has been configured to use per-domain passwd files, and they are placed one path component above /etc, or slash has been added to allowed characters, path traversal can happen if the domain component is directory partial. This allows inadvertently reading /etc/passwd (or some other path which ends with passwd). If this file contains passwords, it can be used to authenticate wrongly, or if this is userdb, it can unexpectly make system users appear valid users. Upgrade to fixed version, or use different authentication scheme that does not rely on paths. Alternatively you can also ensure that the per-domain passwd files are in some other location, such as /etc/dovecot/auth/%d. No publicly available exploits are known.

References (1)

Core 1

Scores

CVSS v3 5.3
EPSS 0.0003
EPSS Percentile 8.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (3)
dovecot/dovecot < 2.4.0
open-xchange/dovecot < 3.1.0
Open-Xchange GmbH/OX Dovecot Pro < 2.3.0
Published Mar 27, 2026
Tracked Since Mar 27, 2026