CVE-2026-27851: When safe filter is used with variable expansion, all following pipelines on the same string are incorrectly interpreted as safe too, ena…

CVE-2026-27851 affects 105 listed versions of Dovecot in the Dawnsentry catalogue.

9.1CVSS critical
None knownexploitation
under 1%EPSS (next 30 days)
12 May 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Dovecot

105 of 107 listed versions are affected. Fixed in 2.4.4. The newest release, 2.4.5, is not affected.

2.4.3 2.4.2 2.4.1 2.4.0 2.3.21.1 2.3.21 2.3.20 2.3.19.1 2.3.19 2.3.18 2.3.17.1 2.3.17 2.3.16 2.3.15 2.3.14.1 2.3.14 2.3.13 2.3.11.3 2.3.11.2 2.2.36.4 2.2.36.3 2.2.36.1 2.2.36 2.2.35 2.2.34 2.2.33.2 2.2.33.1 2.2.33 2.2.32 2.2.31 2.2.30.2 2.2.30.1 2.2.30 2.2.29.1 2.1.16 2.1.15 2.1.14 2.1.13 2.1.12 2.1.11 2.1.10 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.0.15 2.0.14 2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 2.0.8 2.0.7 2.0.6 2.0.5 and 45 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD)

Published by Ox on 12 May 2026. Last changed 26 October 2026.

Sources

Check one version you run: look CVE-2026-27851 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.