CVE-2026-40020 Affecting dovecot package, versions <2.4.4-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-DOVECOT-18535387
  • published5 Aug 2026
  • disclosed12 May 2026

Introduced: 12 May 2026

CVE-2026-40020  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 dovecot to version 2.4.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dovecot package and not the dovecot package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

Attacker can use the IMAP SETACL command to inject the anyone permission to user's dovecot-acl file even if imap_acl_allow_anyone=no. This causes folders to be spammed to all users. The impact is limited to being able to spam folders to other users, no unexpected access is gained. Install to fixed version. No publicly available exploits are known.

CVSS Base Scores

version 3.1