
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27855 is an authentication bypass via replay attack in Dovecot's One-Time Password (OTP) authentication mechanism. The vulnerability arises under specific conditions: when the authentication cache is enabled and the username is altered in the password database (passdb), OTP credentials can be cached such that the same OTP response remains valid for subsequent authentication attempts. It affects Dovecot versions prior to 2.4.3 (open-source) and OX Dovecot Pro versions up to and including 2.3.0. The vulnerability was published on March 27, 2026, and carries a CVSS v3.1 base score of 5.9 (Medium) per NVD, though ENISA's EUVD rates it 6.8 (OX Advisory, ENISA EUVD).
The root cause is classified as CWE-294 (Authentication Bypass by Capture-Replay). When Dovecot's auth cache is active and a passdb lookup alters the username, the OTP credential response gets stored in the cache tied to the modified username. Because OTP values are cached rather than consumed, a previously observed OTP exchange can be replayed by an attacker to authenticate as the victim user. Exploitation requires the attacker to be able to observe an OTP authentication exchange — most feasible over unencrypted connections — making the attack complexity high (network-based, no privileges required, no user interaction). The vulnerability was disclosed via the oss-security mailing list and Dovecot's official CSAF advisory (OX Advisory, oss-sec).
Successful exploitation allows an attacker who has observed a valid OTP exchange to authenticate as the targeted user, resulting in a high confidentiality impact (unauthorized access to the user's mailbox and associated data). Integrity and availability are not directly impacted by this vulnerability. The scope is limited to the affected Dovecot instance, but unauthorized mailbox access could expose sensitive communications and facilitate further attacks such as credential harvesting or account takeover (OX Advisory, ENISA EUVD).
auth_cache_size > 0) and that a passdb driver is configured to alter the username during lookup — both conditions must be present./var/log/dovecot.log or /var/log/mail.log) showing successful logins from unexpected IP addresses for a user shortly after a legitimate login; repeated successful OTP authentications for the same user without corresponding failed attempts.Upgrade Dovecot to version 2.4.3 or later (open-source), or apply the corresponding OX Dovecot Pro patch as detailed in the vendor advisory. As an immediate workaround, disable the authentication cache (auth_cache_size = 0) to prevent OTP credential caching. If authentication occurs over unencrypted connections, migrate to the SCRAM protocol, or alternatively enforce TLS/SSL for all mail protocol connections. Switching to OAuth2 or SCRAM authentication is also recommended as a longer-term mitigation (OX Advisory). Distribution-level patches have been issued for Ubuntu (USN-8136-1, USN-8136-2), Debian (DSA-6197-1, DLA-4556-1), and openSUSE (Ubuntu Advisory, Debian LTS, openSUSE).
The vulnerability was disclosed via the oss-security mailing list and Seclists Full Disclosure in March 2026, generating standard community awareness without notable controversy (oss-sec, Full Disclosure). Major Linux distributions including Ubuntu, Debian, and openSUSE responded promptly with security advisories and updated packages. Security scanner vendors Tenable (Nessus) and Qualys added detection plugins shortly after disclosure, indicating routine industry response to a medium-severity vulnerability.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."