Advisory

DEBIAN-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 09:16 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

dovecot

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1:2.3.19.1+dfsg1-2.1+deb12u2 (ecosystem)

Fixed versions

1:2.3.19.1+dfsg1-2.1+deb12u2

Fix

  • Fixed version 1:2.3.19.1+dfsg1-2.1+deb12u2
    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) · Debian 13

Affected

  • introduced 0, fixed 1:2.4.1+dfsg1-1 (ecosystem)

Fixed versions

1:2.4.1+dfsg1-1

Fix

  • Fixed version 1:2.4.1+dfsg1-1
    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) · Debian 14

Affected

  • introduced 0, fixed 1:2.4.1+dfsg1-1 (ecosystem)

Fixed versions

1:2.4.1+dfsg1-1

Fix

  • Fixed version 1:2.4.1+dfsg1-1
    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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences