SQL injection in Dovecot and OX Dovecot Pro - CVE-2026-24031

 

SQL injection in Dovecot and OX Dovecot Pro - CVE-2026-24031

Published: April 1, 2026


Vulnerability identifier: #VU124726
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-24031
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Dovecot
Affected software:
Dovecot
OX Dovecot Pro

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass authentication and enumerate users.

The vulnerability exists due to improper input validation in SQL-based authentication when processing usernames. A remote attacker can send a specially crafted request with malicious username when auth_username_chars is cleared by admin to bypass authentication and enumerate users.

The server must have auth_username_chars configuration option cleared.


How to mitigate CVE-2026-24031

Install security update from vendor's website.

Sources