dovecot: Dovecot SQL based authentication can be bypassed when auth_username_chars is cleared by admin
CVE-2026-24031 is fixed in 17 products on 1 platform, first by DEBIAN-CVE-2026-24031, released March 27, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| dovecot · Debian 13.5 (trixie) | 1:2.4.1+dfsg1-6+deb13u4 | DEBIAN-CVE-2026-24031 | Mar 27, 2026 |
| dovecot · Debian 14 | 1:2.4.3+dfsg1-1 | DEBIAN-CVE-2026-24031 | Mar 27, 2026 |
| dovecot-auth-lua · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-auth-lua 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-core · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-core 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-flatcurve · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-flatcurve 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-gssapi · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-gssapi 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-imapd · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-imapd 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-ldap · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-ldap 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-lmtpd · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-lmtpd 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-managesieved · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-managesieved 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-mysql · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-mysql 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-pgsql · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-pgsql 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-pop3d · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-pop3d 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-sieve · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-sieve 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-solr · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-solr 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-sqlite · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-sqlite 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot-submissiond · Ubuntu 25.10 (questing) | 1:2.4.1+dfsg1-5ubuntu4.1 | dovecot-submissiond 1:2.4.1+dfsg1-5ubuntu4.1 | Apr 15, 2026 |
| dovecot24 · opensuse-leap 16.0 | 2.4.3-160000.1.1 | OPENSUSE-SU-2026:20554-1 | Apr 16, 2026 |
| dovecot24 · sles 16.0 | 2.4.3-160000.1.1 | SUSE-SU-2026:21208-1 | Apr 16, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.