Skip to content

CVE-2026-27855 dovecot: Dovecot: Replay attack allows unauthorized login via observed One-Time Password (OTP) exchange

MediumCVSS 5.9 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

Description

Dovecot OTP authentication is vulnerable to replay attack under specific conditions. If auth cache is enabled, and username is altered in passdb, then OTP credentials can be cached so that same OTP reply is valid. An attacker able to observe an OTP exchange is able to log in as the user. If authentication happens over unsecure connection, switch to SCRAM protocol. Alternatively ensure the communcations are secured, and if possible switch to OAUTH2 or SCRAM. No publicly available exploits are known.

Upgrade path

11 packages: 10 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/dovecot(Red Hat rhel_els 7) All versions No fix listed No fix yet
alpine/dovecot(Alpine v3.23) < 2.4.3-r0 2.4.3-r0 Fixed
alpine/dovecot(Alpine v3.24) < 2.4.3-r0 2.4.3-r0 Fixed
debian/dovecot(Debian 12) < 1:2.3.19.1+dfsg1-2.1+deb12u2; = 1:2.3.19.1+dfsg1-2.1; = 1:2.3.19.1+dfsg1-2.1+deb12u1 1:2.3.19.1+dfsg1-2.1+deb12u2 Fixed
debian/dovecot(Debian 13) < 1:2.4.1+dfsg1-6+deb13u4; = 1:2.4.1+dfsg1-6; = 1:2.4.1+dfsg1-6+deb13u1; = 1:2.4.1+dfsg1-6+deb13u2 +1 more 1:2.4.1+dfsg1-6+deb13u4 Fixed
debian/dovecot(Debian 14) < 1:2.4.3+dfsg1-1; = 1:2.4.1+dfsg1-6; = 1:2.4.1+dfsg1-7; = 1:2.4.1+dfsg1-8 +5 more 1:2.4.3+dfsg1-1 Fixed
dovecot < 2.4.3 2.4.3 Fixed
Open-Xchange GmbH dovecot <= 2.3.0 after 2.3.0 Fixed
Open-Xchange GmbH OX Dovecot Pro <= 2.3.0 after 2.3.0 Fixed
ubuntu/dovecot(Ubuntu 22.04) < 1:2.3.16+dfsg1-3ubuntu2.7 1:2.3.16+dfsg1-3ubuntu2.7 Fixed
ubuntu/dovecot(Ubuntu 24.04) < 1:2.3.21+dfsg1-2ubuntu6.3 1:2.3.21+dfsg1-2ubuntu6.3 Fixed

Affected products

ProductAffected versionsFixed in
Open-Xchange GmbH OX Dovecot Pro <= 2.3.0 No fix listed
debian/dovecot(Debian:12) < 1:2.3.19.1+dfsg1-2.1+deb12u2 1:2.3.19.1+dfsg1-2.1+deb12u2
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u1 No fix listed
debian/dovecot(Debian:13) < 1:2.4.1+dfsg1-6+deb13u4 1:2.4.1+dfsg1-6+deb13u4
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u1 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u2 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u3 No fix listed
debian/dovecot(Debian:14) < 1:2.4.3+dfsg1-1 1:2.4.3+dfsg1-1
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-6 No fix listed
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-7 No fix listed
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-8 No fix listed
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-9 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-1 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-2 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-3 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-4 No fix listed
redhat/dovecot(Red Hat:rhel_els:6) All versions No fix listed
redhat/dovecot(Red Hat:rhel_els:7) All versions No fix listed
ubuntu/dovecot(Ubuntu:22.04) < 1:2.3.16+dfsg1-3ubuntu2.7 1:2.3.16+dfsg1-3ubuntu2.7
alpine/dovecot(Alpine:v3.23) < 2.4.3-r0 2.4.3-r0
alpine/dovecot(Alpine:v3.24) < 2.4.3-r0 2.4.3-r0
ubuntu/dovecot(Ubuntu:24.04) < 1:2.3.21+dfsg1-2ubuntu6.3 1:2.3.21+dfsg1-2ubuntu6.3
dovecot < 2.4.3 2.4.3
Show 1 more
ProductAffected versionsFixed in
Open-Xchange GmbH dovecot <= 2.3.0 No fix listed

References