CVE-2026-0394
Reported by ox · Published March 27, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| dovecot | dovecot | 2.4.0 |
| dovecot | open-xchange | 3.1.0 |
| OX Dovecot Pro | Open-Xchange GmbH | 2.3.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Open-Xchange GmbH | OX Dovecot Pro | 0 |
| Open-Xchange GmbH | OX Dovecot Pro | 0 |
Timeline
- Mar 26, 2026 CVE Published
- Mar 27, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 27, 2026 PoC Published
- Mar 27, 2026 CVE Updated
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory (19 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (16 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-0394
vulnetix vdb fixes CVE-2026-0394
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-0394/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart