CVE-2026-24031

dovecot: Dovecot: Authentication bypass and user enumeration due to cleared auth_username_chars configuration

Published Mar 27, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An attacker can bypass Dovecot’s SQL‑based authentication when the configuration option auth_username_chars is cleared by an administrator. This misconfiguration allows the attacker to authenticate as any user and enumerate valid usernames, thereby compromising account integrity. The weakness is classified as CWE‑89, which involves improper handling of input leading to unauthorized access.

Affected Systems

The vulnerability affects Open‑Xchange GmbH’s OX Dovecot Pro product. Specific version information is not provided in the CNA data, so it is assumed that all installed instances are at risk when the parameter is cleared.

Risk and Exploitability

The CVSS score of 7.7 indicates a high risk. No EPSS data is available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting lower current exploitation interest. The attack vector is inferred to be local or administrative, as the bypass requires an administrator to clear auth_username_chars. Because there are no publicly known exploits, the exploitation would likely involve manual reconfiguration or social engineering to change the setting, after which an attacker could authenticate as any user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Ensure that auth_username_chars is never cleared in the configuration
  • Install the latest fixed version of OX Dovecot Pro if the setting cannot be preserved
  • Review and harden configuration management procedures to prevent accidental clearing of auth_username_chars
  • Monitor authentication logs for signs of unauthorized login attempts

Generated by OpenCVE AI on March 27, 2026 at 09:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6197-1 dovecot security update
Ubuntu USN Ubuntu USN USN-8136-1 Dovecot vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dovecot
Dovecot dovecot
Open-xchange dovecot
CPEs cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:*
cpe:2.3:a:open-xchange:dovecot:*:*:*:*:pro:*:*:*
Vendors & Products Dovecot
Dovecot dovecot
Open-xchange dovecot
Type Values Removed Values Added
First Time appeared Open-xchange
Open-xchange ox Dovecot Pro
Vendors & Products Open-xchange
Open-xchange ox Dovecot Pro
Type Values Removed Values Added
Title Authentication Bypass via Dovecot SQL Authentication When auth_username_chars Cleared dovecot: Dovecot: Authentication bypass and user enumeration due to cleared auth_username_chars configuration
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Title Authentication Bypass via Dovecot SQL Authentication When auth_username_chars Cleared
Type Values Removed Values Added
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.
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
OX
Published
Updated
Jul 15, 2026, 1:17 AM
Reserved
Jan 20, 2026, 2:56 PM
Status
Modified
Published
Mar 27, 2026, 9:16 AM
Modified
Oct 26, 2026, 9:10 PM
Severity
Important
Public date
Mar 27, 2026, 8:10 AM