Skip to main content

hMailServer CVE-2026-126611

| EUVDEUVD-2026-123323 HIGH
Improper Certificate Validation (CWE-295)
2026-11-11 GitLab GHSA-pm2h-xjj9-fw84
7.0
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local foothold on hMailServer host
  2. Delivery
    Bind to DB port while database stopped or restarting
  3. Exploit
    Present self-signed certificate accepted by Connector/C as local
  4. Execution
    Capture database credentials sent unhashed
  5. Impact
    Read 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

hMailServer 6.3.4 ≤6.3.7

Affected Packages

euvd hmailserver no fix

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

Vendor (GitLab) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

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.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitLab).

CVSS VectorVendor: GitLab

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 100% exploitable
Prevalence
Low
niche self-hosted mail server, small-business and hobbyist use, no large enterprise footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-100741 CRITICAL POC
9.8 Sep 27

Arbitrary JScript execution in Progressive Robot Ltd's hMailServer 6.0.0 through 6.3.3 on Windows lets an unauthenticate

CVE-2026-126617 HIGH
8.8 Nov 11

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

CVE-2026-114489 HIGH
8.1 Oct 21

Cross-tenant configuration takeover in hMailServer 6.0.0 through 6.3.6 lets an authenticated user holding only a domain-

CVE-2026-103647 HIGH
8.0 Oct 08

Cross-site scripting in Progressive Robot hMailServer 6.3.2 through 6.3.5 can let a remote, unauthenticated attacker exe

CVE-2026-126607 HIGH
7.8 Nov 11

Local privilege escalation in Progressive Robot hMailServer 6.2.3 through 6.3.7 on Windows allows an authenticated local

CVE-2026-126612 HIGH
7.8 Nov 11

Local privilege escalation in the Windows installer of Progressive Robot hMailServer 6.0.0 through 6.3.7 lets a local au

CVE-2026-114490 HIGH
7.8 Oct 21

Incorrect authorization in the COM administration API of hMailServer 6.3.4 through 6.3.6 lets a credential holding the s

CVE-2026-107571 HIGH
7.8 Oct 19

Local privilege escalation in Progressive Robot hMailServer 6.0.0 through 6.3.6 allows any authenticated, non-administra

CVE-2026-107573 HIGH
7.8 Oct 08

Incorrect default permissions in the Windows installer for Progressive Robot hMailServer 6.0.0 through 6.3.5 let any loc

CVE-2026-103010 HIGH
7.8 Oct 08

Heap-based buffer overflow in hMailServer 6.0.0 through 6.3.3 on Windows lets a local interactive user - with no hMailSe

CVE-2026-104660 HIGH
7.8 Oct 08

Local privilege escalation in hMailServer 6.0.0 through 6.3.5 on Windows allows an authenticated local user-one with an

CVE-2026-104658 HIGH
7.8 Oct 08

Local privilege escalation in Progressive Robot hMailServer 6.3.4 and 6.3.5 on Linux allows an attacker who already has

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy