Home / mailcow / mailcow-dockerized / CVE-2023-34108
CVE-2023-34108: is it exploited, and which versions of mailcow-dockerized are affected and fixed?
CVE-2023-34108 is an OS command injection vulnerability in mailcow-dockerized. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: mailcow-dockerized < 2023-05a (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:38 UTC.
What is CVE-2023-34108?
Manipulation of Internal Dovecot Variables in mailcow via crafted Passwords
mailcow is a mail server suite based on Dovecot, Postfix and other open source software, that provides a modern web UI for user/server administration. A vulnerability has been discovered in mailcow which allows an attacker to manipulate internal Dovecot variables by using specially crafted passwords during the authentication process. The issue arises from the behavior of the `passwd-verify.lua` script, which is responsible for verifying user passwords during login attempts. Upon a successful login, the script returns a response in the format of "password=<valid-password>", indicating the successful authentication. By crafting a password with additional key-value pairs appended to it, an attacker can manipulate the returned string and influence the internal behavior of Dovecot. For example, using the password "123 mail_crypt_save_version=0" would cause the `passwd-verify.lua` script to return the string "password=123 mail_crypt_save_version=0". Consequently, Dovecot will interpret this string and set the internal variables accordingly, leading to unintended consequences. This vulnerability can be exploited by an authenticated attacker who has the ability to set their own password. Successful exploitation of this vulnerability could result in unauthorized access to user accounts, bypassing security controls, or other malicious activities. This issue has been patched in version `2023-05a`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
From the CVE record by GitHub_M, last updated January 6, 2025, 20:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| mailcow | mailcow-dockerized | < 2023-05a |
As the CVE record by GitHub_M states it, last updated January 6, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mailcow | mailcow\ | _dockerized | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:02 UTC.
How severe is CVE-2023-34108?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-34108 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 6, 2025)
- EPSS
- 0.98% probability of exploitation activity in the next 30 days, percentile 63.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-mhh4-qchc-pv22 x_refsource_CONFIRM
- https://github.com/mailcow/mailcow-dockerized/commit/f80940efdccd393bf5fccec2886795372a38c445 x_refsource_MISC
- https://github.com/VladimirBorisov/CVE_proposal/blob/main/MailcowUserPassword.md x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 25, 2023
- Published
- June 7, 2023, 17:16 UTC
- CVE record updated
- January 6, 2025, 20:11 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:02 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect mailcow-dockerized?
- Nov 10, 2026CVE-2026-125757 mailcow: dockerized: template injection
- May 20, 2026CVE-2026-7460 mailcow-dockerized: cross-site scripting (XSS)
- Apr 21, 2026CVE-2026-40878 mailcow-dockerized: cross-site scripting (XSS)
- Apr 21, 2026CVE-2026-40875 mailcow-dockerized: cross-site scripting (XSS)
- Apr 21, 2026CVE-2026-40874 mailcow-dockerized: improper access control
- Apr 21, 2026CVE-2026-40873 mailcow-dockerized: cross-site scripting (XSS)
- Apr 21, 2026CVE-2026-40872 mailcow-dockerized: cross-site scripting (XSS)
- Apr 21, 2026CVE-2026-40871 mailcow-dockerized: improper input validation
Every CVE in mailcow-dockerized
Questions about CVE-2023-34108
Is CVE-2023-34108 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.98% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of mailcow-dockerized are affected by CVE-2023-34108?
mailcow-dockerized < 2023-05a, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2023-34108?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2023-34108?
High (8.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-34108?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.