cve.bz

CVE-2026-0394 Path traversal

5.3 mediumEPSS 0.4%

Medium (5.3). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-03-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-0394 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-0394?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-0394?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-0394 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-0394

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

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

HTML:

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

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Open-Xchange GmbH OX Dovecot Prothrough 2.3.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12dovecot1:2.3.19.1+dfsg1-2.1+deb12u2DEBIAN-CVE-2026-0394
Debian13, 14dovecot1:2.4.1+dfsg1-1DEBIAN-CVE-2026-0394
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 moredovecotno fix listedUBUNTU-CVE-2026-0394
Ubuntu22.04:LTSdovecot1:2.3.16+dfsg1-3ubuntu2.7UBUNTU-CVE-2026-0394 USN-8136-2
Ubuntu24.04:LTSdovecot1:2.3.21+dfsg1-2ubuntu6.3UBUNTU-CVE-2026-0394 USN-8136-2
Azure Linux3dovecotno fix listedAZL-81695

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10dovecotNot affected
Red Hat Enterprise Linux 6dovecotOut of support scope
Red Hat Enterprise Linux 7dovecotFix deferred
Red Hat Enterprise Linux 8dovecotNot affected
Red Hat Enterprise Linux 9dovecotNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-0394.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON