Path traversal in Dovecot and OX Dovecot Pro - CVE-2026-0394
Published: April 1, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper limitation of a pathname to a restricted directory ('Path Traversal') in passwd-file passdb when processing domain-based authentication requests. A remote attacker can send a specially crafted request with malicious domain parameter to disclose sensitive information.
The server must be configured to use per-domain passwd files placed one path component above /etc or with slash in allowed characters.
Affected software
OX Dovecot Pro
openEuler
Ubuntu
dovecot
dovecot-debuginfo
dovecot-debugsource
dovecot-devel
dovecot-help
dovecot (Ubuntu package)
How to mitigate CVE-2026-0394
OX Dovecot Pro - update to 3.1.0
dovecot - update to 2.3.15-7
dovecot-debuginfo - update to 2.3.15-7
dovecot-debugsource - update to 2.3.15-7
dovecot-devel - update to 2.3.15-7
dovecot-help - update to 2.3.15-7
dovecot (Ubuntu package) - addressed in versions 1:2.3.16+dfsg1-3ubuntu2.7, 1:2.3.16+dfsg1-3ubuntu2.8, 1:2.3.21+dfsg1-2ubuntu6.3, 1:2.3.21+dfsg1-2ubuntu6.4, 1:2.4.1+dfsg1-5ubuntu4.1