Description
Dovecot SQL based authentication can be bypassed when auth_username_chars is cleared by admin. This vulnerability allows bypassing authentication for any user and user enumeration. Do not clear auth_username_chars. If this is not possible, install latest fixed version. No publicly available exploits are known.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Open-Xchange | OX Dovecot Pro | ≤ 3.1.0, ≤ 2.4.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dovecot | 1:2.4.3+dfsg1-1 | — |
| Debian 13 | dovecot | 1:2.4.1+dfsg1-6+deb13u4 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | dovecot | 1:2.4.1+dfsg1-5ubuntu4.1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | dovecot24 | 2.4.3-160000.1.1 | SUSE-SU-2026:21208-1 |
| SLES 16.0 | dovecot24 | 2.4.3-160000.1.1 | SUSE-SU-2026:21208-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | dovecot24 | 2.4.3-1.1 | openSUSE-SU-2026:10442-1 |
| openSUSE Leap 16.0 | dovecot24 | 2.4.3-160000.1.1 | openSUSE-SU-2026:20554-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | dovecot | 2.4.3-r0 | — |
| Alpine v3.23 | dovecot | 2.4.3-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | dovecot | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
aramosf/CVE-2026-24031 ★ 2 · Aug 12, 2026
CVE-2026-24031 Dovecot 2.4.0/3.1.0 SQL authentication bypass (auth bypass + user enumeration) PoC
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 4
- WID-SEC-2026-0891 Dovecot: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 16, 2026
- openSUSE-SU-2026:20554-1 Security update for dovecot24 SUSE / openSUSE Security Updates · Apr 22, 2026
- SUSE-SU-2026:21208-1 Security update for dovecot24 SUSE / openSUSE Security Updates · Apr 22, 2026
- openSUSE-SU-2026:10442-1 dovecot24-2.4.3-1.1 on GA media SUSE / openSUSE Security Updates · Mar 28, 2026