UBUNTU-CVE-2026-0394 (CVE-2026-0394)
Vulnerability from osv_ubuntu – Published: 2026-03-27 00:00 – Updated: 2026-04-28 15:49 – Source websiteWhen 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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dovecot-core",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-gssapi",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-imapd",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-ldap",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-lmtpd",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-managesieved",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-mysql",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-pgsql",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-pop3d",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-sieve",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-solr",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "dovecot-sqlite",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
},
{
"binary_name": "mail-stack-delivery",
"binary_version": "1:2.2.9-1ubuntu2.6+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "dovecot",
"purl": "pkg:deb/ubuntu/dovecot@1:2.2.9-1ubuntu2.6+esm4?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.1.7-7ubuntu3",
"1:2.2.9-1ubuntu1",
"1:2.2.9-1ubuntu2",
"1:2.2.9-1ubuntu2.1",
"1:2.2.9-1ubuntu2.3",
"1:2.2.9-1ubuntu2.4",
"1:2.2.9-1ubuntu2.5",
"1:2.2.9-1ubuntu2.6",
"1:2.2.9-1ubuntu2.6+esm1",
"1:2.2.9-1ubuntu2.6+esm2",
"1:2.2.9-1ubuntu2.6+esm3",
"1:2.2.9-1ubuntu2.6+esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dovecot-core",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-gssapi",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-imapd",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-ldap",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-lmtpd",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-lucene",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-managesieved",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-mysql",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-pgsql",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-pop3d",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-sieve",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-solr",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "dovecot-sqlite",
"binary_version": "1:2.2.22-1ubuntu2.14"
},
{
"binary_name": "mail-stack-delivery",
"binary_version": "1:2.2.22-1ubuntu2.14"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "dovecot",
"purl": "pkg:deb/ubuntu/dovecot@1:2.2.22-1ubuntu2.14?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.2.18-2ubuntu2",
"1:2.2.22-1ubuntu1",
"1:2.2.22-1ubuntu2",
"1:2.2.22-1ubuntu2.1",
"1:2.2.22-1ubuntu2.2",
"1:2.2.22-1ubuntu2.3",
"1:2.2.22-1ubuntu2.4",
"1:2.2.22-1ubuntu2.6",
"1:2.2.22-1ubuntu2.7",
"1:2.2.22-1ubuntu2.8",
"1:2.2.22-1ubuntu2.9",
"1:2.2.22-1ubuntu2.10",
"1:2.2.22-1ubuntu2.11",
"1:2.2.22-1ubuntu2.12",
"1:2.2.22-1ubuntu2.13",
"1:2.2.22-1ubuntu2.14"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dovecot-core",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-gssapi",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-imapd",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-ldap",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-lmtpd",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-managesieved",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-mysql",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-pgsql",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-pop3d",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-sieve",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-solr",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "dovecot-sqlite",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
},
{
"binary_name": "mail-stack-delivery",
"binary_version": "1:2.2.33.2-1ubuntu4.8"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "dovecot",
"purl": "pkg:deb/ubuntu/dovecot@1:2.2.33.2-1ubuntu4.8?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.2.27-3ubuntu1",
"1:2.2.33.2-1ubuntu1",
"1:2.2.33.2-1ubuntu2",
"1:2.2.33.2-1ubuntu3",
"1:2.2.33.2-1ubuntu4",
"1:2.2.33.2-1ubuntu4.1",
"1:2.2.33.2-1ubuntu4.2",
"1:2.2.33.2-1ubuntu4.3",
"1:2.2.33.2-1ubuntu4.4",
"1:2.2.33.2-1ubuntu4.5",
"1:2.2.33.2-1ubuntu4.6",
"1:2.2.33.2-1ubuntu4.7",
"1:2.2.33.2-1ubuntu4.8"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dovecot-auth-lua",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-core",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-gssapi",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-imapd",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-ldap",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-lmtpd",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-lucene",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-managesieved",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-mysql",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-pgsql",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-pop3d",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-sieve",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-solr",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-sqlite",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "dovecot-submissiond",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
},
{
"binary_name": "mail-stack-delivery",
"binary_version": "1:2.3.7.2-1ubuntu3.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "dovecot",
"purl": "pkg:deb/ubuntu/dovecot@1:2.3.7.2-1ubuntu3.7?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.3.4.1-5ubuntu3",
"1:2.3.7.2-1ubuntu1",
"1:2.3.7.2-1ubuntu2",
"1:2.3.7.2-1ubuntu3",
"1:2.3.7.2-1ubuntu3.1",
"1:2.3.7.2-1ubuntu3.2",
"1:2.3.7.2-1ubuntu3.3",
"1:2.3.7.2-1ubuntu3.4",
"1:2.3.7.2-1ubuntu3.5",
"1:2.3.7.2-1ubuntu3.6",
"1:2.3.7.2-1ubuntu3.7"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "dovecot-auth-lua",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-core",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-gssapi",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-imapd",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-ldap",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-lmtpd",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-lucene",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-managesieved",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-mysql",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-pgsql",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-pop3d",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-sieve",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-solr",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-sqlite",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
},
{
"binary_name": "dovecot-submissiond",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "dovecot",
"purl": "pkg:deb/ubuntu/dovecot@1:2.3.16+dfsg1-3ubuntu2.7?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.3.16+dfsg1-3ubuntu2.7"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.3.13+dfsg1-1ubuntu3",
"1:2.3.16+dfsg1-3ubuntu1",
"1:2.3.16+dfsg1-3ubuntu2",
"1:2.3.16+dfsg1-3ubuntu2.1",
"1:2.3.16+dfsg1-3ubuntu2.2",
"1:2.3.16+dfsg1-3ubuntu2.4",
"1:2.3.16+dfsg1-3ubuntu2.6"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "dovecot-auth-lua",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-core",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-gssapi",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-imapd",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-ldap",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-lmtpd",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-managesieved",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-mysql",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-pgsql",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-pop3d",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-sieve",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-solr",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-sqlite",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
},
{
"binary_name": "dovecot-submissiond",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "dovecot",
"purl": "pkg:deb/ubuntu/dovecot@1:2.3.21+dfsg1-2ubuntu6.3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.3.21+dfsg1-2ubuntu6.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.3.20+dfsg1-1ubuntu3",
"1:2.3.21+dfsg1-2ubuntu1",
"1:2.3.21+dfsg1-2ubuntu2",
"1:2.3.21+dfsg1-2ubuntu4",
"1:2.3.21+dfsg1-2ubuntu5",
"1:2.3.21+dfsg1-2ubuntu6",
"1:2.3.21+dfsg1-2ubuntu6.1",
"1:2.3.21+dfsg1-2ubuntu6.2"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-0394",
"modified": "2026-04-28T15:49:54Z",
"published": "2026-03-27T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-0394"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-0394"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8136-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8136-2"
}
],
"related": [
"USN-8136-1",
"USN-8136-2"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-0394"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.