UBUNTU-CVE-2026-27851

Source
https://ubuntu.com/security/CVE-2026-27851
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27851.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-27851
Upstream
Downstream
Related
Published
2026-05-12T14:16:00Z
Modified
2026-06-30T18:16:12.148741511Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:25.10 / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.4.1+dfsg1-5ubuntu4.2

Affected versions

1:2.*
1:2.3.21.1+dfsg1-1ubuntu2
1:2.4.1+dfsg1-5ubuntu1
1:2.4.1+dfsg1-5ubuntu3
1:2.4.1+dfsg1-5ubuntu4
1:2.4.1+dfsg1-5ubuntu4.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "dovecot-auth-lua",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-core",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-flatcurve",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-gssapi",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-imapd",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-ldap",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-lmtpd",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-managesieved",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-mysql",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-pgsql",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-pop3d",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-sieve",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-solr",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-sqlite",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        },
        {
            "binary_name": "dovecot-submissiond",
            "binary_version": "1:2.4.1+dfsg1-5ubuntu4.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27851.json"

Ubuntu:26.04:LTS / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.4.2+dfsg1-3ubuntu2.1

Affected versions

1:2.*
1:2.4.1+dfsg1-5ubuntu4
1:2.4.1+dfsg1-5ubuntu5
1:2.4.2+dfsg1-3ubuntu1
1:2.4.2+dfsg1-3ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "dovecot-auth-lua",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-core",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-flatcurve",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-gssapi",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-imapd",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-ldap",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-lmtpd",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-managesieved",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-mysql",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-pgsql",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-pop3d",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-sieve",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-solr",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-sqlite",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        },
        {
            "binary_name": "dovecot-submissiond",
            "binary_version": "1:2.4.2+dfsg1-3ubuntu2.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27851.json"