Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local foothold on hMailServer host
-
DeliveryBind to DB port while database stopped or restarting
-
ExploitPresent self-signed certificate accepted by Connector/C as local
-
ExecutionCapture database credentials sent unhashed
-
ImpactRead and modify hMailServer database traffic
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | All of the following must hold: hMailServer 6.3.4-6.3.7 using a MySQL or MariaDB backend; TlsMode explicitly set to verify-full (NOT the default 'prefer', which checks no certificate); no TlsCaFile configured; and the database connection is one MariaDB Connector/C treats as local - Server=127.0.0.1, ::1 or localhost (a Unix socket on Linux), '.' on Windows (a named pipe), or a comma-separated server list containing such an element. The vulnerable client must be a MariaDB Connector/C 3.4.1 or later (Windows builds bundle 3.4.9 in 6.3.4-6.3.6 and 3.4.11 in 6.3.7); Connector/C 3.3, 3.4.0 and Oracle's MySQL client are NOT affected, and on Linux the distribution-supplied client is used. Limiting factors that reduce real-world exposure: the attacker must already be local and able to stand in for the database server (for example by listening on its port while it is stopped or restarting), the required configuration is non-default, and only specific connector versions are susceptible. |
| Impact | Signals point to a genuine but constrained issue rather than a mass-exploitation emergency. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.0 High) describes a local attack of high complexity requiring low privileges, yet full confidentiality, integrity and availability impact because the database sign-in password is captured and the hMailServer-to-database traffic can be read and modified. The vuln.today decision label is 'this_week', indicating prompt but non-emergency remediation. It is NOT in CISA KEV, so this is 'no public exploit identified at time of analysis' and no active exploitation is confirmed; the only references are the vendor work item and the v6.3.8 release, which are advisory/fix links, not working exploit code. EPSS is not provided in the input, so exploitation probability cannot be quantified - treat as unknown rather than low or high. The practical risk is bounded by three stacked prerequisites: a non-default TLS configuration (TlsMode=verify-full with no TlsCaFile - the default 'prefer' does not hit this path), a database connection that MariaDB Connector/C treats as local, and a vulnerable Connector/C build (3.4.1+). The high complexity reflects that the attacker must impersonate the database server during a window when it is stopped or restarting. A notable aggravator is the false assurance: 'hmailserver --check-database' and the application log both reported the certificate as verified against the system trust store, so operators relying on verify-full could believe they are protected when they are not. |
| Exploit ScenarioDerived | On a host where hMailServer is configured with TlsMode=verify-full, no TlsCaFile, and a MySQL/MariaDB connection treated as local (e.g. Server=127.0.0.1 or a localhost Unix socket/named pipe) using a bundled MariaDB Connector/C 3.4.9 or 3.4.11, a local attacker waits for the database to be stopped or restarting and binds to its port/socket to stand in as the server. Because Connector/C accepts a self-signed certificate for any name on a local connection, hMailServer completes the handshake, sends its database credentials - and will downgrade to an authentication method that transmits the password unhashed - letting the attacker capture the password and then read and modify subsequent traffic. No public proof-of-concept or exploit code is identified at time of analysis, and the AV:L/AC:H profile means this requires local access plus winning a timing window rather than remote one-shot exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
hMailServer 6.3.4 through 6.3.7 configured with a MySQL or MariaDB backend, TlsMode set to verify-full and no TlsCaFile does not actually verify the database server's certificate issuer or name on connections that MariaDB Connector/C treats as local, so a local attacker who can stand in for the database server (for example by listening on its port while the service is stopped or restarting) can capture the database sign-in including the password and read or modify traffic between hMailServer and its database. The required configuration is not the default (TlsMode defaults to prefer, which checks no certificate), and only certain connector versions are susceptible - Windows builds bundle Connector/C 3.4.9 (6.3.4-6.3.6) and 3.4.11 (6.3.7), while on Linux the distribution-supplied client is used and Connector/C 3.3, 3.4.0 and Oracle's MySQL client are unaffected. No public exploit code or active exploitation is indicated in the available sources; the references are the vendor work item and the v6.3.8 release, and the assessed severity is 7.0 (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H), constrained by the need for local access, a non-default configuration and a susceptible connector version.
RemediationAI
Upgrade to hMailServer v6.3.8, the release referenced by the vendor for this issue (https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.8; tracking item at https://gitlab.com/hmailserver/hmailserver/-/work_items/113); the source does not enumerate per-branch fix versions beyond this release, so confirm the exact build for the 6.3.x line in the release notes before deploying. When triaging existing installs, note that exposure requires all of the following to hold simultaneously: hMailServer 6.3.4-6.3.7 with a MySQL or MariaDB backend, TlsMode explicitly set to verify-full rather than the default prefer, no TlsCaFile configured, a connection MariaDB Connector/C treats as local (127.0.0.1, ::1, localhost, '.' on Windows, or a comma-separated server list containing such an entry), and a susceptible connector version (Windows builds bundle 3.4.9 in 6.3.4-6.3.6 and 3.4.11 in 6.3.7; Linux uses the distribution client). Scoping can therefore start by inventorying those four configuration points; note that Connector/C 3.3, 3.4.0 and Oracle's MySQL client are documented as not affected, and that installations on the default prefer mode do not validate certificates at all and so fall outside the described verify-full scenario rather than being protected by it. Because the attacker must be local and able to stand in for the database server - for example by listening on its port while it is stopped or restarting - reducing local logon rights and monitoring for substitute listeners on the database port limit the window, though these are scoping and containment measures rather than substitutes for the v6.3.8 upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-295, improper certificate validation, arising from the interaction between hMailServer's TLS configuration and MariaDB Connector/C's handling of connections it classifies as local. hMailServer implemented verify-full by switching on the client's certificate verification without supplying a CA file; MariaDB Connector/C 3.4.1 and later, on a connection it treats as local and with no CA file present, accepts any certificate within its validity period that is self-signed or sent with its own root, for any name (and 3.4.2 through 3.4.10 additionally accept one whose issuer cannot be found). Connections treated as local include Server set to 127.0.0.1, ::1 or localhost (a Unix socket on Linux), '.' on Windows (a named pipe), or a comma-separated server list containing such an element. Because the impostor's certificate was accepted, the client asked no proof of the password and permitted a switch to an authentication method that sends the password unhashed, while hmailserver --check-database reported that the certificate had been checked against the system's trust store and the application log likewise recorded it as checked. Windows builds bundle Connector/C 3.4.9 in 6.3.4-6.3.6 and 3.4.11 in 6.3.7; on Linux the distribution's client is used, and Connector/C 3.3 and 3.4.0 as well as Oracle's MySQL client are not affected. The assessed vector (AV:L/AC:H/PR:L) reflects the need for a local foothold and the attacker's ability to stand in for the database server, for example by listening on its port while it is stopped or restarting.
Know when Hmailserver gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local attacker must impersonate the DB server during a stop/restart window under a non-default config, hence AV:L/AC:H/PR:L; captured credentials and MITM give C:H/I:H/A:H.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
DescriptionCVE.org
Progressive Robot hMailServer 6.3.4 through 6.3.7, with a MySQL or MariaDB database, TlsMode=verify-full and no TlsCaFile, does not verify the database server's certificate's issuer or name when the connection is one that MariaDB Connector/C treats as local - Server= set to 127.0.0.1, ::1 or localhost (on Linux a Unix socket), to . on Windows (a named pipe), or to a comma-separated list of servers that holds such an element - which allows a local attacker who can stand in for the database server, for example by listening on its port while it is stopped or restarting, to receive the database sign-in, the password included, and to read and modify the traffic between hMailServer and its database. hMailServer applied verify-full by turning the client's certificate verification on without a CA file, but MariaDB Connector/C 3.4.1 and later, on a connection they treat as local and with no CA file, accept any certificate within its validity period that is self-signed or sent with its own root, for any name (Connector/C 3.4.2 to 3.4.10 also one whose issuer they cannot find), so the client accepted the certificate an impostor made, asked no proof of the password and allowed a switch to an authentication method that sends the password unhashed, while hmailserver --check-database said the certificate had been checked against the system's trust store and the application log that it had been checked. The Windows builds bundle Connector/C 3.4.9 (6.3.4 to 6.3.6) and 3.4.11 (6.3.7); on Linux the distribution's client is used, and Connector/C 3.3 and 3.4.0 and Oracle's MySQL client are not affected. The configuration is not the default: TlsMode defaults to prefer, which checks no certificate.
Executive ViewAI
A high-severity security gap in hMailServer (versions 6.3.4-6.3.7) with MySQL/MariaDB backends could allow a local attacker to intercept database credentials, potentially compromising email service integrity and confidentiality. Leadership should prioritize remediation because this affects the security of business email communications and could lead to unauthorized access to sensitive data.
No vendor-released patch identified at time of analysis; interim mitigations include setting TlsMode to 'prefer' (which disables certificate verification but also removes the vulnerability) or configuring a valid TlsCaFile to ensure proper certificate validation, and restricting local access to the database port.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Hmailserver
View allArbitrary JScript execution in Progressive Robot Ltd's hMailServer 6.0.0 through 6.3.3 on Windows lets an unauthenticate
SQL injection in the database layer of hMailServer 6.0.0-B1 through 6.2.18 allows a remote attacker to alter the SQL sta
Cross-tenant configuration takeover in hMailServer 6.0.0 through 6.3.6 lets an authenticated user holding only a domain-
Cross-site scripting in Progressive Robot hMailServer 6.3.2 through 6.3.5 can let a remote, unauthenticated attacker exe
Local privilege escalation in Progressive Robot hMailServer 6.2.3 through 6.3.7 on Windows allows an authenticated local
Local privilege escalation in the Windows installer of Progressive Robot hMailServer 6.0.0 through 6.3.7 lets a local au
Incorrect authorization in the COM administration API of hMailServer 6.3.4 through 6.3.6 lets a credential holding the s
Local privilege escalation in Progressive Robot hMailServer 6.0.0 through 6.3.6 allows any authenticated, non-administra
Incorrect default permissions in the Windows installer for Progressive Robot hMailServer 6.0.0 through 6.3.5 let any loc
Heap-based buffer overflow in hMailServer 6.0.0 through 6.3.3 on Windows lets a local interactive user - with no hMailSe
Local privilege escalation in hMailServer 6.0.0 through 6.3.5 on Windows allows an authenticated local user-one with an
Local privilege escalation in Progressive Robot hMailServer 6.3.4 and 6.3.5 on Linux allows an attacker who already has
EUVD-2026-123323
GHSA-pm2h-xjj9-fw84
NVD
CVE.org
EPSS
Exploit-DB