{"schemaVersion":3,"id":"CVE-2026-24031","aliases":["ALPINE-CVE-2026-24031","UBUNTU-CVE-2026-24031","DEBIAN-CVE-2026-24031"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-03-27T08:10:18.100Z","modified":"2026-07-15T01:17:37.386Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00395,"percentile":0.32267,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00395},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00395,"percentile":0.32267}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00395,"percentile":0.32267}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"alpine","product":"dovecot","name":"dovecot","label":"dovecot","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/dovecot","purlType":"apk","versions":[{"text":"< 2.4.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.3-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"dovecot","name":"dovecot","label":"dovecot","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/dovecot","purlType":"deb","versions":[{"text":"< 1:2.4.1+dfsg1-6+deb13u4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.4.3+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.4.1+dfsg1-6+deb13u4 | < 1:2.4.3+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"dovecot","name":"dovecot","label":"dovecot","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/dovecot","purlType":"deb","versions":[{"text":"< 1:2.4.1+dfsg1-5ubuntu4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.4.1+dfsg1-5ubuntu4.1","eol":null,"hubHref":null},{"vendor":"dovecot","product":"dovecot","name":"dovecot","label":"dovecot","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"dovecot","label":"Dovecot","category":"server-app"}},"hubHref":"/vendor/dovecot/dovecot"},{"vendor":"open-xchange gmbh","product":"ox dovecot pro","name":"OX Dovecot Pro","label":"ox dovecot pro","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.1.0","noFixRecorded":false,"fixedIn":null},{"text":"≤ 2.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.1.0 | ≤ 2.4.0","eol":null,"hubHref":"/vendor/open-xchange_gmbh/ox_dovecot_pro"},{"vendor":"open-xchange","product":"dovecot","name":"dovecot","label":"dovecot","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.4","eol":null,"hubHref":"/vendor/open-xchange/dovecot"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0001.json","label":"documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0001.json","hostname":"documentation.open-xchange.com","tags":["Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-24031","label":"access.redhat.com/security/cve/CVE-2026-24031","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452181","label":"bugzilla.redhat.com/show_bug.cgi?id=2452181","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24031.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24031.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-24031","label":"security.alpinelinux.org/vuln/CVE-2026-24031","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-24031","label":"ubuntu.com/security/CVE-2026-24031","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-24031","label":"www.cve.org/CVERecord?id=CVE-2026-24031","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8136-1","label":"ubuntu.com/security/notices/USN-8136-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-24031","label":"security-tracker.debian.org/tracker/CVE-2026-24031","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10442-1","OPENSUSE-SU-2026:20554-1","SUSE-SU-2026:21208-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10442-1","OPENSUSE-SU-2026:20554-1","SUSE-SU-2026:21208-1","USN-8136-1"]},"timeline":[{"kind":"published","date":"2026-03-27T08:10:18.100Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:17:37.386Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:52:34.974Z","stale":false,"partial":false}}