Skip to main content
CVE-2026-27851VulnerabilityPublished Updated

Dovecot: When safe filter is used with variable expansion, all following pipelines on the same string are incorrectly

Affects dovecotSource GCVE Database

0
Compare
Authoritative record:CVE-2026-27851· High 7.4

Not known to be exploited · CVSS 7.4 High · fixed in 1:2.4.1+dfsg1-5ubuntu4.2 : patch dovecot soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1:2.4.1+dfsg1-5ubuntu4.2, 1:2.4.2+dfsg1-3ubuntu2.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu dovecot to 1:2.4.1+dfsg1-5ubuntu4.2 (package) or 1:2.4.2+dfsg1-3ubuntu2.1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=resoluteOther threatsAffected
  • <1:2.4.2+dfsg1-3ubuntu2.1
Fixed in
  • 1:2.4.2+dfsg1-3ubuntu2.1
Ubuntu 25.10dovecotpkg:deb/ubuntu/dovecot?arch=source&distro=questingOther threatsAffected
  • <1:2.4.1+dfsg1-5ubuntu4.2
Fixed in
  • 1:2.4.1+dfsg1-5ubuntu4.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…