Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-0394 EUVD-2026-16559

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…

Published Mar 27, 2026 · Updated Mar 27, 2026 · Assigned by OX

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.

Affected products

VendorProductAffectedFixed
Open-Xchange OX Dovecot Pro ≤ 2.3.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dovecot 1:2.4.1+dfsg1-1 —
Debian 13 dovecot 1:2.4.1+dfsg1-1 —
Debian 12 dovecot 1:2.3.19.1+dfsg1-2.1+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS dovecot 1:2.3.21+dfsg1-2ubuntu6.3 USN-8136-2
Ubuntu 22.04 LTS dovecot 1:2.3.16+dfsg1-3ubuntu2.7 USN-8136-2
Ubuntu 20.04 LTS dovecot No fix yet —
Ubuntu 18.04 LTS dovecot No fix yet —
Ubuntu 16.04 LTS dovecot No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS dovecot No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 dovecot No fix yet —

Advisories 2

References