Advisory

UBUNTU-CVE-2026-0394

Also known as: CVE-2026-0394

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2026-03-27 00:00 UTC
Modified
2026-04-28 16:44 UTC

Affected packages and fixes

dovecot

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

dovecot

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

dovecot

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

dovecot

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:2.3.16+dfsg1-3ubuntu2.7 (ecosystem)

Fixed versions

1:2.3.16+dfsg1-3ubuntu2.7

Fix

  • Fixed version 1:2.3.16+dfsg1-3ubuntu2.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dovecot

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1:2.3.21+dfsg1-2ubuntu6.3 (ecosystem)

Fixed versions

1:2.3.21+dfsg1-2ubuntu6.3

Fix

  • Fixed version 1:2.3.21+dfsg1-2ubuntu6.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences