CVE & CISA-KEV Catalog

CVE-2026-0394

MEDIUM
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
dovecotDebian
Fixed in:1:2.3.13+dfsg1-2+deb11u3CVE-2026-0394
Fixed in:1:2.3.19.1+dfsg1-2.1+deb12u2CVE-2026-0394
Fixed in:1:2.4.1+dfsg1-1CVE-2026-0394
Fixed in:1:2.4.1+dfsg1-1CVE-2026-0394
dovecotUbuntu
Fixed in:1:2.3.16+dfsg1-3ubuntu2.7USN-8136-1
Fixed in:1:2.3.16+dfsg1-3ubuntu2.8USN-8136-2
Fixed in:1:2.3.21+dfsg1-2ubuntu6.4USN-8136-2
Fixed in:1:2.3.21+dfsg1-2ubuntu6.3USN-8136-1
Fixed in:1:2.4.1+dfsg1-5ubuntu4.1USN-8136-1
dovecot-coreUbuntu
Fixed in:1:2.3.16+dfsg1-3ubuntu2.8USN-8136-2
Fixed in:1:2.3.16+dfsg1-3ubuntu2.7USN-8136-1
Fixed in:1:2.3.21+dfsg1-2ubuntu6.4USN-8136-2
Fixed in:1:2.3.21+dfsg1-2ubuntu6.3USN-8136-1
Fixed in:1:2.4.1+dfsg1-5ubuntu4.1USN-8136-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploit Intelligence

0.43%probability of exploitation in 30 days
34thpercentile

Low risk: more likely to be exploited than 34% of all known CVEs.

References

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2026-0394
CVE-2026-0394 severity badge

Markdown

[![CVE-2026-0394](https://tridentstack.com/cve/badge/CVE-2026-0394.svg)](https://tridentstack.com/cve/CVE-2026-0394)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-0394"><img src="https://tridentstack.com/cve/badge/CVE-2026-0394.svg" alt="CVE-2026-0394"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-29.