Skip to main content

hMailServer EUVDEUVD-2026-123321

| CVE-2026-126609 HIGH
Improper Certificate Validation (CWE-295)
2026-11-11 GitLab GHSA-8g5c-c364-9965
7.5
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Gain local user access on Windows host
  2. Delivery
    Plant cert file at UTF-8-collision path
  3. Exploit
    hMailServer validates DB cert against attacker file
  4. Execution
    Intercept or impersonate database connection
  5. Impact
    Read and modify DB traffic including password

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Windows builds only (Linux builds unaffected), running hMailServer 6.2.25-6.3.7 in a non-default configuration where a root certificate file is named - by default none is named. Triggering configs: PostgreSQL backend with sslmode=require, verify-ca or verify-full and PostgreSQLSslRootCert set (from 6.2.25); or TlsMode=verify-full with neither PostgreSQL key set, using TlsCaFile (from 6.3.4); or a MySQL backend where the bundled MariaDB Connector/C has been replaced by an Oracle MySQL client library, using TlsCaFile (6.3.4-6.3.7). The configured filename must contain non-ASCII bytes that are also valid UTF-8 (e.g. U+00C3 U+00A9 → bytes C3 A9, which OpenSSL reads as U+00E9); up to 6.3.5 names are handed to libpq as Latin-1 bytes. Limiting factors: a local user must be able to create a file at the UTF-8-interpreted path (e.g. any user beside an administrator's ProgramData file, or beside a permission-restricted folder at the system drive root) while being unable to alter the configured file, AND must be able to intercept or impersonate the hMailServer-to-database connection. The bundled MariaDB Connector/C opens the file in the ANSI code page and is NOT affected. A planted file lacking the real issuing CA simply blocks hMailServer from connecting. The vendor's complete fix is upgrading to v6.3.8.

Impact

Signals point to a real but narrow, lower-tier priority rather than a drop-everything emergency. The input CVSS is 7.5 (High) but is heavily gated by AC:H and PR:L, and the vuln.today Decision label is this_week, not act_now or emergency. No EPSS score, no CISA KEV listing, and no proof-of-concept are present in the supplied data, so this is 'no public exploit identified at time of analysis' and there is no evidence of active exploitation. The practical risk is bounded by stacked preconditions: a non-default PostgreSQL/MySQL TLS configuration, a root-certificate filename whose non-ASCII bytes happen to also be valid UTF-8, a local user able to create the collision-named file, and an attacker already positioned to intercept or impersonate the database connection. A notable conflict exists between the input CVSS vector (AV:N) and the description, which explicitly frames this as 'a local attacker who can create that file' combined with database-connection interception - the described mechanism is local file placement plus MITM, not a purely remote network attack; verify the access model with the vendor. Where the preconditions are met the impact is serious (full read/modify of hMailServer-to-database traffic, including the database password, hence C:H/I:H/A:H), but the combination of non-default config, Windows-only scope, specific-encoding requirement, local file creation, and MITM positioning makes widespread opportunistic exploitation unlikely; this favors targeted scenarios over mass exploitation.

Exploit ScenarioDerived

On a Windows hMailServer host configured (non-default) to verify the PostgreSQL or Oracle-MySQL database certificate against a root-cert file whose name contains non-ASCII bytes that are also valid UTF-8, a low-privileged local user drops a file at the UTF-8-interpreted path (for example beside the administrator's file under ProgramData); OpenSSL opens that attacker file instead of the configured one. The attacker, also able to intercept or impersonate the database connection, presents a certificate from their own CA so hMailServer trusts the MITM channel and then reads and alters all database traffic, including the database password. No public exploit code is identified in the provided data; the high attack complexity reflects the required filename-encoding collision, file-placement access, and interception position.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% 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.2.25 through 6.3.7 on Windows can be made to trust an attacker-supplied certificate authority because a non-ASCII root certificate filename is passed to libpq in the system ANSI code page while OpenSSL re-reads those same bytes as UTF-8, opening a different file. The flaw only applies to non-default deployments where a root certificate file is actually named - PostgreSQL with sslmode require/verify-ca/verify-full plus PostgreSQLSslRootCert, or TlsMode=verify-full using TlsCaFile (and, in 6.3.4-6.3.7, a MySQL backend where the bundled MariaDB Connector/C has been replaced by an Oracle MySQL client library). Exploitation requires local low-privileged file creation at the UTF-8-interpreted path plus the ability to intercept or impersonate the hMailServer-to-database connection, after which the attacker can read and modify database traffic including the database password; a planted file without the real issuing CA merely breaks connectivity. No public exploit has been identified at time of analysis, and the vendor's complete fix is upgrading to v6.3.8.

RemediationAI

The vendor's complete fix is upgrading hMailServer to v6.3.8 (https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.8), which removes the filename-encoding mismatch; no backport or configuration-only fix is documented in the available sources. Deployments that never name a root certificate file (the default) are outside the affected configuration, and Linux builds and installations still using the bundled MariaDB Connector/C are not affected, so confirming which of those configurations is in use is the first triage step. Where upgrading is not immediately possible, the exposure depends on the two preconditions stated in the advisory: a local user able to create the file that the UTF-8 interpretation of the configured path resolves to, and the ability to intercept or impersonate the database connection. Auditing named root certificate paths for non-ASCII characters and the surrounding directory permissions (for example ProgramData alongside administrator-managed files, or folders directly under the system drive root with restricted ACLs) addresses the file-planting half of the requirement; noting that a planted file without the real issuing CA stops hMailServer from connecting to its database rather than granting access. Database traffic should be protected against interception independently, since that is the second, independent prerequisite for the trust bypass to yield credential or data disclosure.

Affected VersionsENISA

hMailServer 6.2.25 ≤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 affected component is hMailServer's database TLS trust configuration on Windows, which mixes two different filename encodings across a library boundary. hMailServer hands the configured root certificate path to PostgreSQL's libpq as bytes in the system ANSI code page (Latin-1 in builds up to 6.3.5, which on code page 1252 makes bytes C3 A9 perform double duty as U+00C3 U+00A9 and as UTF-8 U+00E9). libpq resolves the file by those bytes, then passes the same byte string to OpenSSL, whose Windows file-opening path first interprets the name as UTF-8 and, if a file exists at that interpretation, opens it. When every non-ASCII byte of the configured name also forms valid UTF-8, the certificate actually loaded comes from a different path than the administrator specified. This is CWE-295 (Improper Certificate Validation): the trust anchor in use is not the trust anchor that was configured, so the database server's certificate can be validated against an attacker-controlled CA. The CPE cpe:2.3:a:progressive_robot_ltd:hmailserver:*:*:*:*:*:*:*:* covers the affected product family. Scope limits matter: the encoding mismatch is specific to how libpq/OpenSSL are invoked on Windows, so Linux builds are unaffected; the bundled MariaDB Connector/C opens the file in the ANSI code page and is not affected, with the Oracle MySQL client library substitution being the only affected MySQL path. The trigger is not described in the available sources beyond the configuration and filename-encoding preconditions, and the default configuration names no root certificate file at all.

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.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Exploitation requires a local low-privileged user to plant a collision-named file (AV:L, PR:L) plus a rare filename-encoding match and MITM positioning (AC:H); full compromise of DB traffic gives C:H/I:H/A:H; the input used AV:N but the described trigger is local.

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:N/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
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Progressive Robot hMailServer 6.2.25 through 6.3.7 on Windows, with a PostgreSQL database, the connection's sslmode require, verify-ca or verify-full, and a root certificate file named by PostgreSQLSslRootCert (from 6.2.25) or, with TlsMode=verify-full and neither PostgreSQL key set, by TlsCaFile (from 6.3.4), hands the file's name to libpq as bytes in the system's ANSI code page (up to 6.3.5 as Latin-1 bytes, which on code page 1252 are the code page's own for U+00A0 to U+00FF), and libpq looks for the file by those bytes and then hands the same bytes to OpenSSL, whose file opening on Windows reads a name as UTF-8 first and opens the file at that reading when one is there. When every byte of the name outside ASCII also reads as UTF-8 - for example U+00C3 U+00A9, the bytes C3 A9 on code page 1252, which are U+00E9 in UTF-8 - the database server's certificate was checked against the file at that other name whenever one was there, which allows a local attacker who can create that file but cannot change the configured one, as any user can by default beside a file an administrator keeps under ProgramData, or beside a folder directly under the system drive's root whose permissions the administrator restricted, and who can intercept the connection to the database server or stand in for it, to have hMailServer trust a certificate authority of the attacker's own and read and modify the traffic between hMailServer and its database, the database password included; the file alone, holding no authority that issued the database server's certificate, stops hMailServer from connecting to its database. The same applies in 6.3.4 through 6.3.7 to TlsCaFile when an Oracle MySQL client library has been put in place of the bundled MariaDB Connector/C, since that client opens the file through OpenSSL in the same way; the bundled MariaDB Connector/C opens the file in the code page and is not affected, and neither are the Linux builds. The configuration is not the default: by default no root certificate file is named.

Executive ViewAI

Why It Matters

hMailServer versions 6.2.25 through 6.3.7 on Windows may trust an attacker-supplied certificate authority in non-default PostgreSQL or MySQL TLS deployments, enabling interception of database traffic. This affects organizations using custom root certificate files, potentially exposing database credentials and data to local attackers who can create files and intercept connections.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include renaming root certificate files to ASCII-only names and updating configuration paths, restricting local file creation in certificate directories, and monitoring for anomalous database connection activity.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche open-source Windows mail server; vulnerable DB-TLS config is non-default
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.2%
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
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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