CVE-2026-0394
Fixed in a distro release EPSS <1%CVSS 5.3
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.
Products: Open-Xchange GmbH OX Dovecot Pro
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | dovecot | 1:2.3.19.1+dfsg1-2.1+deb12u2 |
| Debian 13 | dovecot | 1:2.4.1+dfsg1-1 |
| Debian 14 | dovecot | 1:2.4.1+dfsg1-1 |
| Ubuntu 16.04 LTS | dovecot | no fix |
| Ubuntu 18.04 LTS | dovecot | no fix |
| Ubuntu 20.04 LTS | dovecot | no fix |
| Ubuntu 22.04 LTS | dovecot | 1:2.3.16+dfsg1-3ubuntu2.7 |
| Ubuntu 22.04 LTS | dovecot | 1:2.3.16+dfsg1-3ubuntu2.8 |
| Ubuntu 24.04 LTS | dovecot | 1:2.3.21+dfsg1-2ubuntu6.3 |
| Ubuntu 24.04 LTS | dovecot | 1:2.3.21+dfsg1-2ubuntu6.4 |
| Ubuntu 25.10 | dovecot | 1:2.4.1+dfsg1-5ubuntu4.1 |
| Ubuntu Pro 14.04 LTS | dovecot | no fix |