Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as local user
-
DeliveryCreate code-page-named folder on writable drive
-
ExploitPlant malicious DLL under a plugin name
-
ExecutionhMailServer service connects to MySQL/MariaDB
-
PersistConnector loads DLL via LoadLibraryExA
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
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
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.
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
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
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 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
Crafted JSON member names drive quadratic parsing time in hMailServer 6.3.6 and 6.3.7, allowing remote attackers to pin
EUVD-2026-123322
GHSA-332h-7rh6-hg9m
NVD
CVE.org
EPSS
Exploit-DB