p PatchFirst

CVE-2026-0394

CVE-2026-0394

CVSS 5.3 · Medium · EPSS 0.6% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • ox dovecot proNo fix published
  • dovecot Debian 12Update to 1:2.3.19.1+dfsg1-2.1+deb12u2
  • dovecot Debian 13Update to 1:2.4.1+dfsg1-1
  • dovecot Debian 14Update to 1:2.4.1+dfsg1-1
  • and 6 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="dovecot"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • DLA-4556-1 · Debian 11 ·
  • USN-8136-2 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS ·
  • USN-8136-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10 ·

Stack: system

Affected products and versions

  • ox dovecot pro

    Versions
    • ≥ 0, ≤ 2.3.0: Affected (semver)

    No fix published

  • dovecot Debian 12

    Versions
    • 1:2.3.19.1+dfsg1-2.1
    • 1:2.3.19.1+dfsg1-2.1+deb12u1
    Affected ranges
    • ECOSYSTEM: < 1:2.3.19.1+dfsg1-2.1+deb12u2

    Update to 1:2.3.19.1+dfsg1-2.1+deb12u2

  • dovecot Debian 13

    Affected ranges
    • ECOSYSTEM: < 1:2.4.1+dfsg1-1

    Update to 1:2.4.1+dfsg1-1

  • dovecot Debian 14

    Affected ranges
    • ECOSYSTEM: < 1:2.4.1+dfsg1-1

    Update to 1:2.4.1+dfsg1-1

  • dovecot Ubuntu Pro 14.04 LTS

    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
    All versions (12)
    • 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
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dovecot Ubuntu 16.04 LTS

    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
    All versions (16)
    • 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
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dovecot Ubuntu 18.04 LTS

    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
    All versions (13)
    • 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
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dovecot Ubuntu 20.04 LTS

    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
    All versions (11)
    • 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
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dovecot Ubuntu 22.04 LTS

    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
    All versions (7)
    • 1:2.3.16+dfsg1-3ubuntu2.6
    Affected ranges
    • ECOSYSTEM: < 1:2.3.16+dfsg1-3ubuntu2.7

    Update to 1:2.3.16+dfsg1-3ubuntu2.7

  • dovecot Ubuntu 24.04 LTS

    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
    All versions (8)
    • 1:2.3.21+dfsg1-2ubuntu6.1
    • 1:2.3.21+dfsg1-2ubuntu6.2
    Affected ranges
    • ECOSYSTEM: < 1:2.3.21+dfsg1-2ubuntu6.3

    Update to 1:2.3.21+dfsg1-2ubuntu6.3

Original sources

Check your server →