CVE-2026-0394

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductDovecot
PublishedMar 27, 2026
First seenMar 27, 2026

How to fix

Update
  • dovecot dovecot2.4.0 or later
  • open-xchange dovecot3.1.0 or later

Affected products

ProductAffected versionsFixed in
dovecot dovecotv < 2.4.02.4.0
open-xchange dovecotv < 3.1.03.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.