CVE-2026-27855

NameCVE-2026-27855
DescriptionDovecot 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6197-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dovecot (PTS)bullseye1:2.3.13+dfsg1-2+deb11u1vulnerable
bullseye (security)1:2.3.13+dfsg1-2+deb11u2vulnerable
bookworm1:2.3.19.1+dfsg1-2.1+deb12u1vulnerable
bookworm (security)1:2.3.19.1+dfsg1-2.1+deb12u3fixed
trixie1:2.4.1+dfsg1-6+deb13u3vulnerable
trixie (security)1:2.4.1+dfsg1-6+deb13u4fixed
forky1:2.4.2+dfsg1-4vulnerable
sid1:2.4.3+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dovecotsourcebookworm1:2.3.19.1+dfsg1-2.1+deb12u2DSA-6197-1
dovecotsourcetrixie1:2.4.1+dfsg1-6+deb13u4DSA-6197-1
dovecotsource(unstable)1:2.4.3+dfsg1-1

Notes

https://dovecot.org/mailman3/archives/list/dovecot-news@dovecot.org/thread/IKIHZX77IPTGSP5WBIPJUOFBUQFKVPE7/
https://documentation.open-xchange.com/dovecot/security/advisories/html/2026/oxdc-adv-2026-0001.html#cve-2026-27855-auth-otp-driver-vulnerable-to-replay-attack
Fixed by: https://github.com/dovecot/core/commit/912470570dee2b4c43bb837ff333196a6c76c9a7 (2.4.3)
Fixed by: https://github.com/dovecot/core/commit/5d2384a57f2389ff4b76dee69264fdc88617e5c7 (2.4.3)
Fixed by: https://github.com/dovecot/core/commit/d9141e295eb414ce4b1e20973f91c79567f69cc8 (2.4.3)
Fixed by: https://github.com/dovecot/core/commit/8d87c0d3a0d1d7c9581dc97015d76b4ef90f7319 (2.4.3)

Search for package or bug name: Reporting problems