cbcvebase.
CVE-2026-0394
published 2026-03-27

CVE-2026-0394: 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…

PriorityP431medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
EPSS
0.43%
35.0th percentile
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.

Affected

11 ranges
VendorProductVersion rangeFixed in
debiandovecot< dovecot 1:2.3.19.1+dfsg1-2.1+deb12u2 (bookworm)dovecot 1:2.3.19.1+dfsg1-2.1+deb12u2 (bookworm)
dovecotdovecot< 2.4.02.4.0
dovecotdovecot>= 0 < 1:2.3.19.1+dfsg1-2.1+deb12u21:2.3.19.1+dfsg1-2.1+deb12u2
dovecotdovecot>= 0 < 1:2.4.1+dfsg1-11:2.4.1+dfsg1-1
dovecotdovecot>= 0 < 1:2.4.1+dfsg1-11:2.4.1+dfsg1-1
dovecotdovecot>= 0 < 1:2.3.16+dfsg1-3ubuntu2.71:2.3.16+dfsg1-3ubuntu2.7
dovecotdovecot>= 0 < 1:2.3.21+dfsg1-2ubuntu6.31:2.3.21+dfsg1-2ubuntu6.3
dovecotdovecot>= 0 < 1:2.4.1+dfsg1-5ubuntu4.11:2.4.1+dfsg1-5ubuntu4.1
open-xchangedovecot< 3.1.03.1.0
open-xchange_gmbhox_dovecot_pro<= 2.3.0
ubuntudovecot

CVSS provenance

nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
vendor_ubuntu5.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.