Skip to content

CVE-2026-0394 dovecot: Dovecot: Information disclosure and authentication bypass via path traversal

MediumCVSS 5.3 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

9 packages: 8 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/dovecot(Red Hat rhel_els 7) All versions No fix listed No fix yet
debian/dovecot(Debian 12) < 1:2.3.19.1+dfsg1-2.1+deb12u2; = 1:2.3.19.1+dfsg1-2.1; = 1:2.3.19.1+dfsg1-2.1+deb12u1 1:2.3.19.1+dfsg1-2.1+deb12u2 Fixed
debian/dovecot(Debian 13) < 1:2.4.1+dfsg1-1 1:2.4.1+dfsg1-1 Fixed
debian/dovecot(Debian 14) < 1:2.4.1+dfsg1-1 1:2.4.1+dfsg1-1 Fixed
dovecot < 2.4.0 2.4.0 Fixed
Open-Xchange GmbH dovecot < 3.1.0 3.1.0 Fixed
Open-Xchange GmbH OX Dovecot Pro <= 2.3.0 after 2.3.0 Fixed
ubuntu/dovecot(Ubuntu 22.04) < 1:2.3.16+dfsg1-3ubuntu2.7 1:2.3.16+dfsg1-3ubuntu2.7 Fixed
ubuntu/dovecot(Ubuntu 24.04) < 1:2.3.21+dfsg1-2ubuntu6.3 1:2.3.21+dfsg1-2ubuntu6.3 Fixed

Affected products

ProductAffected versionsFixed in
Open-Xchange GmbH OX Dovecot Pro <= 2.3.0 No fix listed
debian/dovecot(Debian:12) < 1:2.3.19.1+dfsg1-2.1+deb12u2 1:2.3.19.1+dfsg1-2.1+deb12u2
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u1 No fix listed
debian/dovecot(Debian:13) < 1:2.4.1+dfsg1-1 1:2.4.1+dfsg1-1
debian/dovecot(Debian:14) < 1:2.4.1+dfsg1-1 1:2.4.1+dfsg1-1
redhat/dovecot(Red Hat:rhel_els:6) All versions No fix listed
redhat/dovecot(Red Hat:rhel_els:7) All versions No fix listed
ubuntu/dovecot(Ubuntu:22.04) < 1:2.3.16+dfsg1-3ubuntu2.7 1:2.3.16+dfsg1-3ubuntu2.7
ubuntu/dovecot(Ubuntu:24.04) < 1:2.3.21+dfsg1-2ubuntu6.3 1:2.3.21+dfsg1-2ubuntu6.3
dovecot < 2.4.0 2.4.0
Open-Xchange GmbH dovecot < 3.1.0 3.1.0

References