| Name | CVE-2026-27851 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1136444 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| dovecot (PTS) | bullseye | 1:2.3.13+dfsg1-2+deb11u1 | fixed |
| bullseye (security) | 1:2.3.13+dfsg1-2+deb11u3 | fixed |
| bookworm | 1:2.3.19.1+dfsg1-2.1+deb12u5 | fixed |
| bookworm (security) | 1:2.3.19.1+dfsg1-2.1+deb12u6 | fixed |
| trixie | 1:2.4.1+dfsg1-6+deb13u5 | vulnerable |
| trixie (security) | 1:2.4.1+dfsg1-6+deb13u6 | fixed |
| forky, sid | 1:2.4.4+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| dovecot | source | bullseye | (not affected) | | | |
| dovecot | source | bookworm | (not affected) | | | |
| dovecot | source | trixie | 1:2.4.1+dfsg1-6+deb13u6 | | | |
| dovecot | source | (unstable) | 1:2.4.4+dfsg1-1 | | | 1136444 |
Notes
[bookworm] - dovecot <not-affected> (Vulnerable code introduced later)
[bullseye] - dovecot <not-affected> (Vulnerable code introduced later)
https://www.openwall.com/lists/oss-security/2026/05/12/6
Fixed by: https://github.com/dovecot/core/commit/d75c04e8ccbeb70d66d05938665fe145175ac1b5 (2.4.4)