Skip to content

CVE-2026-27851 dovecot: Dovecot: SQL/LDAP injection via incorrect safe filter interpretation with variable expansion

CriticalCVSS 9.1 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

Description

When safe filter is used with variable expansion, all following pipelines on the same string are incorrectly interpreted as safe too, enabling unsafe data to be unescaped. This can enable SQL / LDAP injection attacks when used in authentication. Avoid using safe filter until on fixed version. No publicly available exploits are known.

Upgrade path

9 packages: 8 fixed.

PackageAffectedFixed inStatus
alpine/dovecot(Alpine v3.23) < 2.4.4-r0 2.4.4-r0 Fixed
alpine/dovecot(Alpine v3.24) < 2.4.4-r0 2.4.4-r0 Fixed
debian/dovecot(Debian 13) < 1:2.4.1+dfsg1-6+deb13u6; = 1:2.4.1+dfsg1-6; = 1:2.4.1+dfsg1-6+deb13u1; = 1:2.4.1+dfsg1-6+deb13u2 +3 more 1:2.4.1+dfsg1-6+deb13u6 Fixed
debian/dovecot(Debian 14) < 1:2.4.4+dfsg1-1; = 1:2.4.1+dfsg1-6; = 1:2.4.1+dfsg1-7; = 1:2.4.1+dfsg1-8 +7 more 1:2.4.4+dfsg1-1 Fixed
dovecot < 2.4.4 2.4.4 Fixed
Open-Xchange GmbH dovecot < 3.1.5 3.1.5 Fixed
Open-Xchange GmbH OX Dovecot Pro <= 2.4.3; <= 3.1.4 after 2.4.3, 3.1.4 Fixed
ubuntu/dovecot(Ubuntu 26.04) < 1:2.4.2+dfsg1-3ubuntu2.1 1:2.4.2+dfsg1-3ubuntu2.1 Fixed
redhat enterprise linux = 6; = 8; = 9; = 10 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Open-Xchange GmbH OX Dovecot Pro <= 3.1.4 No fix listed
Open-Xchange GmbH OX Dovecot Pro <= 2.4.3 No fix listed
redhat enterprise linux = 10 No fix listed
redhat enterprise linux = 6 No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
redhat/dovecot(Red Hat:rhel_els:6) All versions No fix listed
debian/dovecot(Debian:13) < 1:2.4.1+dfsg1-6+deb13u6 1:2.4.1+dfsg1-6+deb13u6
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:13) = 1:2.4.1+dfsg1-6+deb13u4 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u5 No fix listed
debian/dovecot(Debian:14) < 1:2.4.4+dfsg1-1 1:2.4.4+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
debian/dovecot(Debian:14) = 1:2.4.3+dfsg1-1 No fix listed
debian/dovecot(Debian:14) = 1:2.4.3+dfsg1-2 No fix listed
Show 5 more
ProductAffected versionsFixed in
alpine/dovecot(Alpine:v3.23) < 2.4.4-r0 2.4.4-r0
alpine/dovecot(Alpine:v3.24) < 2.4.4-r0 2.4.4-r0
ubuntu/dovecot(Ubuntu:26.04) < 1:2.4.2+dfsg1-3ubuntu2.1 1:2.4.2+dfsg1-3ubuntu2.1
dovecot < 2.4.4 2.4.4
Open-Xchange GmbH dovecot < 3.1.5 3.1.5

References