CVEfocus › CVE database › CVE-2026-0394

CVE-2026-0394

CVSS 5.3 MediumEPSS 0.6% (higher than 40% of CVEs)Published 2026-03-27Updated 2026-03-27Assigner: OX

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.

CWE-22

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
9Fix pending
5Will not fix
17Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04dovecotNot affected
vulnerable_code_not_present
Ubuntu 25.10dovecotNot affected
vulnerable_code_not_present
Ubuntu 24.04dovecotFixed1:2.3.21+dfsg1-2ubuntu6.3UBUNTU-CVE-2026-0394
Ubuntu 22.04dovecotFixed1:2.3.16+dfsg1-3ubuntu2.7UBUNTU-CVE-2026-0394
Ubuntu 20.04dovecotFix pendingUBUNTU-CVE-2026-0394
Ubuntu 18.04dovecotFix pendingUBUNTU-CVE-2026-0394
Ubuntu 16.04dovecotFix pendingUBUNTU-CVE-2026-0394
Ubuntu 14.04dovecotFix pendingUBUNTU-CVE-2026-0394
Debian 14dovecotFixed1:2.4.1+dfsg1-1DEBIAN-CVE-2026-0394
Debian 13dovecotFixed1:2.4.1+dfsg1-1DEBIAN-CVE-2026-0394
Debian 12dovecotFixed1:2.3.19.1+dfsg1-2.1+deb12u2DEBIAN-CVE-2026-0394
Red Hat Enterprise Linux 10dovecotNot affected
Red Hat Enterprise Linux 10dovecot-develNot affected
Red Hat Enterprise Linux 10dovecot-mysqlNot affected
Red Hat Enterprise Linux 10dovecot-pgsqlNot affected
Red Hat Enterprise Linux 10dovecot-pigeonholeNot affected
Red Hat Enterprise Linux 9dovecotNot affected
Red Hat Enterprise Linux 9dovecot-develNot affected
Red Hat Enterprise Linux 9dovecot-mysqlNot affected
Red Hat Enterprise Linux 9dovecot-pgsqlNot affected
Red Hat Enterprise Linux 9dovecot-pigeonholeNot affected
Red Hat Enterprise Linux 8dovecotNot affected
Red Hat Enterprise Linux 8dovecot-develNot affected
Red Hat Enterprise Linux 8dovecot-mysqlNot affected
Red Hat Enterprise Linux 8dovecot-pgsqlNot affected
Red Hat Enterprise Linux 8dovecot-pigeonholeNot affected
Red Hat Enterprise Linux 7dovecotFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-develFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-pgsqlFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-pigeonholeFix pending
Fix deferred
Red Hat Enterprise Linux 6dovecotWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-pigeonholeWill not fix
Out of support scope

What the vendor says

As published in the CVE record by OX, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.