# 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…

- Severity: Medium 5.3 (CVSS:3.1, scored by OX) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-03-27T08:10:17.375Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: OX

## 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.

(As written by CVE List.)

## Affected

- Open-Xchange GmbH OX Dovecot Pro: up to 2.3.0
- dovecot dovecot: before 2.4.0
- open-xchange dovecot: before 3.1.0

## References

- <https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0001.json> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-0394](https://www.cve.org/CVERecord?id=CVE-2026-0394), CVE Terms of Use, modified 2026-03-27
- NVD: [CVE-2026-0394](https://nvd.nist.gov/vuln/detail/CVE-2026-0394), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-0394 · Whole record: https://cve.day/CVE-2026-0394.json · Rebuilt by cve.day 2026-11-25T22:59:17.370Z
