Skip to main content

hMailServer EUVDEUVD-2026-123322

| CVE-2026-126607 HIGH
Uncontrolled Search Path Element (CWE-427)
2026-11-11 GitLab GHSA-332h-7rh6-hg9m
7.8
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as local user
  2. Delivery
    Create code-page-named folder on writable drive
  3. Exploit
    Plant malicious DLL under a plugin name
  4. Execution
    hMailServer service connects to MySQL/MariaDB
  5. Persist
    Connector loads DLL via LoadLibraryExA
  6. Impact
    Execute code as LocalSystem

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
Exploitation Conditions

Requires Windows hMailServer 6.2.3-6.3.7 configured with a MySQL or MariaDB database (the default is not affected and Linux builds set no plugin folder). The installation folder path must contain at least one character between U+0080 and U+00FF and none above U+00FF, AND the system ANSI code page must map that byte to a different character (e.g. code page 1251 or a UTF-8 code page - code page 1252, where the bytes are the same letters, is not exploitable). The attacker must be a local authenticated user able to create the mis-decoded folder; by default any authenticated user can create a folder directly under the system-drive root, and a path above U+00FF yields an empty string whose folder lands at the root of the current drive (e.g. a writable FAT/exFAT volume). Limiting factors: local authentication required, non-default non-ASCII install path required, specific incompatible code page required, MySQL 8.0+ (or an auth-switch naming the plugin) needed for the greeting-driven load, and the default ASCII Program Files path is not exploitable. A separate admin-process variant requires an administrator running hMailServer.exe database/console commands from a writable working folder.

Impact

This is a local privilege-escalation flaw (CWE-427, DLL load via uncontrolled path) rated CVSS 7.8 with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, meaning local access and an existing authenticated account are required - it is not remotely reachable. The vuln.today decision label is 'this_week' (moderate urgency, not act_now/emergency). No CISA KEV listing is present, no EPSS score was supplied, and the only references are the vendor's own GitLab work item and the 6.3.8 release - no public exploit code is identified. The severity signals (local SYSTEM code execution) are genuinely high in impact, but the real-world likelihood is constrained by stacked, non-default preconditions: a MySQL/MariaDB backend, a non-ASCII installation path within U+0080-U+00FF, an ANSI code page (e.g. 1251 or UTF-8) that misreads those bytes, and attacker ability to create the resulting folder. The input vector's AC:L arguably understates this - exploitation depends on a specific deployment condition outside the attacker's control, which I treat as higher attack complexity in my own assessment. Net: a credible local-to-SYSTEM escalation worth patching on a normal cycle for the narrow population of affected, non-default installs, but not a mass-exploitation emergency.

Exploit ScenarioDerived

On a Windows host running hMailServer 6.2.3-6.3.7 with a MySQL/MariaDB backend and a non-ASCII installation path under an incompatible ANSI code page, a local authenticated user creates the folder that the mis-decoded Latin-1 bytes name on a writable location (the system-drive root, writable by default, or a FAT/exFAT volume) and drops a DLL named after an authentication plugin into it. At the service's next database connection the bundled MariaDB Connector/C loads that DLL with LoadLibraryExA, running its entry point as the service account (LocalSystem or the installation's virtual account). No public exploit code exists; the attack relies only on documented behavior and local write access.

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

Local privilege escalation in Progressive Robot hMailServer 6.2.3 through 6.3.7 on Windows allows an authenticated local user to load an attacker-supplied DLL into the mail service - and thus execute code as LocalSystem or the service's virtual account - by planting a folder and plugin-named DLL where the bundled MariaDB Connector/C will look for its authentication plugins. The flaw is CWE-427 (uncontrolled search path element): the server converts its plugin-folder path to Latin-1 bytes with wcstombs_s, but the connector rebuilds the path in the system ANSI code page and loads it via LoadLibraryExA, so a non-ASCII installation path under a mismatching code page (e.g. 1251 or UTF-8; code page 1252 is not exploitable) resolves to a different, attacker-creatable folder, and a path containing characters above U+00FF is handed over as an empty string. Exploitation requires a non-default non-ASCII installation path, a MySQL/MariaDB-backed configuration (the default installation and Linux builds are unaffected), local authentication with folder-creation rights, and - for the service-driven variant - a MySQL 8.0+ server or an authentication switch naming the plugin; a separate administrator-context variant requires an admin to run hMailServer.exe database or console commands from a writable working directory. No public exploit code has been identified at time of analysis, no CISA KEV listing applies, and the issue is fixed in 6.3.8.

RemediationAI

Upgrade to hMailServer 6.3.8, which resolves both cases: it hands the plugin folder in the code page's bytes or by its short (8.3) name, and where neither can be written it uses a folder under the Windows system folder that holds no plugin and that only administrators can create, or else refuses the connection before attempting it - it never hands the empty value or a folder the current drive completes. Until upgrading, the exposure can be reduced by moving the installation to an ASCII-only path (removing the U+0080-U+00FF characters that trigger the mis-resolution and the characters above U+00FF that trigger the empty-string fallback), by running a supported Windows ANSI code page, and by restricting which local users may create folders at the root of the system drive and on any writable volume used as a working directory. Administrators should also avoid running hMailServer.exe database and console commands (--check-database, --upgrade-database, /Debug, /Test) from a writable working folder - run them from a directory only administrators can write to - and should confirm the database backend and connector plugin path after any change. Vendor advisory and release notes: https://gitlab.com/hmailserver/hmailserver/-/work_items/116 and https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.8.

Affected VersionsENISA

hMailServer 6.2.3 ≤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

At the root is a character-encoding mismatch between two Windows components in the database connectivity path of hMailServer. The server converts its plugin-folder path - the plugin folder inside the installation's Bin directory - with the C runtime's wcstombs_s in the C locale, which writes each character up to U+00FF as the byte of the same value. The bundled MariaDB Connector/C instead interprets those bytes in the system ANSI code page when it builds an individual plugin's path and loads it with LoadLibraryExA. On code page 1252 the bytes are the same letters and the path resolves correctly; on a code page such as 1251, or a UTF-8 code page, the same bytes name a different folder. Because the connector loads whichever plugin the database server names in its greeting (unless the plugin is built in) and any plugin named in an authentication switch, and retries on each connection while a load fails, a MySQL 8.0 or later server - whose greeting names caching_sha2_password by default - causes the DLL to be loaded on the service's next connection regardless of the plugin the database account actually uses; a DLL's entry point runs on load, completing the escalation from a local authenticated user to the service account (LocalSystem, or the service's virtual account for new installations from 6.3.4). A second path exists when the installation path contains a character above U+00FF: the value is handed over as an empty string on any code page, and the connector forms the plugin name at the root of the current drive - the system drive root for the service (whose working folder is System32, where only administrators may create files), or the working folder of the administrative hMailServer.exe database and console commands (--check-database, --upgrade-database and others from 6.3.4; /Debug and /Test from 6.2.3), which the product's guidance has administrators run from an elevated prompt in the Bin directory, and which the 6.3.4 and 6.3.5 setup ran itself for new external-database installations. A DLL placed under a plugin's name at the root of a writable volume (such as FAT or exFAT) is therefore loaded into the administrator's process at the command's first connection to MySQL 8.0 or later. The assessed severity is 7.8 (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H per our assessment), reflecting local access, existing authentication and a set of non-default prerequisites rather than remote reachability.

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

Local authenticated account needed (PR:L, AV:L); exploitation hinges on a non-default non-ASCII path plus an incompatible ANSI code page outside attacker control (AC:H); successful load yields SYSTEM code execution (C/I/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:L/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
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Progressive Robot hMailServer 6.2.3 through 6.3.7 on Windows, with a MySQL or MariaDB database, hands the bundled MariaDB Connector/C the folder of its authentication plugins (the plugin folder in the installation's Bin folder) as Latin-1 bytes, which the client reads in the system's ANSI code page when it builds a plugin's path and loads the plugin with LoadLibraryExA, which allows a local authenticated user to execute code as the hMailServer service's account (LocalSystem, or the service's virtual account for a new installation from 6.3.4) by creating the folder those bytes name in the code page and placing in it a DLL with a plugin's name, when the installation folder's path holds a character between U+0080 and U+00FF whose byte the code page reads as another character, and none above U+00FF, and the user can create that other folder (by default any authenticated user may create a folder directly under the root of the system drive). The server converted the path with the C runtime's wcstombs_s in the C locale, which writes each character up to U+00FF as the byte of the same value: on code page 1252 those bytes are the same letters, while on another code page, such as 1251, or on a UTF-8 code page, they name another folder. The client loads the plugin the database server names in its greeting, unless it is built in, and any plugin the server names in an authentication switch, and tries again at each connection while a load fails, so with a MySQL 8.0 or later server, whose greeting names caching_sha2_password by default, the DLL is loaded at the next connection the service makes, whatever plugin the database account uses; a DLL's entry point runs when it is loaded. A path holding any character above U+00FF was handed over as an empty string, whatever the code page, from which the client makes a plugin's name at the root of the current drive: for the service, whose current folder is System32, that is the root of the system drive, where by default only administrators can create a file, but the server's own database commands (hMailServer.exe --check-database, --upgrade-database and the others from 6.3.4, and the /Debug and /Test console modes from 6.2.3) run in the folder they are started from - the product tells administrators to run them from an elevated prompt in the Bin folder, and the setup of 6.3.4 and 6.3.5 ran two or three of them itself with the Bin folder as their working folder for a new installation with an external database - so a DLL that a local authenticated user placed under a plugin's name at the root of a drive other users may write, such as a FAT or exFAT volume, was loaded into the administrator's process at the command's first connection to a MySQL 8.0 or later server. 6.3.8 fixes both cases: it hands the folder in the code page's bytes or by its short (8.3) name, and where neither can be written, a folder under the Windows system folder that holds no plugin and that only administrators can create, or else refuses the connection before attempting it; it never hands the empty value or a folder the current drive completes. The configuration is not the default: the default installation folder, under Program Files, is ASCII. Linux builds set no plugin folder and are not affected.

Executive ViewAI

Why It Matters

A high-severity local privilege escalation flaw in Progressive Robot hMailServer versions 6.2.3 through 6.3.7 allows an authenticated local user to potentially execute code as LocalSystem on Windows servers configured with non-ASCII installation paths and MariaDB backends. While exploitation requires specific preconditions, the impact is severe for affected systems, enabling attackers to gain full control of the mail server and potentially pivot to other systems.

Business Impact: High
Compensating Controls

Restrict local logon access to trusted administrators and enforce least privilege; set file system ACLs to deny unprivileged users write access to the hMailServer installation directory and its subdirectories; avoid non-ASCII installation paths and consider relocating the installation to a default ASCII path; monitor for suspicious DLL creation in application folders.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche free open-source Windows mail server, limited 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.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
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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-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

CVE-2026-126623 HIGH
7.5 Nov 11

Crafted JSON member names drive quadratic parsing time in hMailServer 6.3.6 and 6.3.7, allowing remote attackers to pin

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