Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-126607— Uncontrolled Search Path Element in hMailServer

Quick assessment

Affected
Progressive Robot Ltd hMailServer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Windows 系统上,Progressive Robot hMailServer 6.2.3 至 6.3.7 版本(搭配 MySQL 或 MariaDB 数据库)存在安全漏洞。该漏洞源于服务器将内置 MariaDB Connector/C 的认证插件目录(即安装目录 Bin 文件夹中的插件文件夹)以 Latin-1 字节形式传递给客户端。然而,客户端在构建插件路径并使用 LoadLibraryExA 加载插件时,会按照系统的 ANSI 代码页来读取这些字节。 此行为允许本地已认证用户以 hMailServer

CVSS 7.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-126607

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Uncontrolled Search Path Element in hMailServer
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对搜索路径元素未加控制
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Progressive Robot Ltd hMailServer 6.2.3 ~ 6.3.7 -

II. Public POCs for CVE-2026-126607

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-126607

请登录查看更多情报信息。

Other References for CVE-2026-126607 (2)

Same Patch Batch · Progressive Robot Ltd · 2026-11-11 · 18 CVEs total

CVE-2026-126617 8.8 HIGH Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in hM
CVE-2026-126612 7.8 HIGH Improper Link Resolution Before File Access ('Link Following') in hMailServer
CVE-2026-126621 7.5 HIGH Improper Certificate Validation in hMailServer
CVE-2026-126613 7.5 HIGH Allocation of Resources Without Limits or Throttling in hMailServer
CVE-2026-126623 7.5 HIGH Inefficient Algorithmic Complexity in hMailServer
CVE-2026-126609 7.5 HIGH Improper Certificate Validation in hMailServer
CVE-2026-126610 7.4 HIGH Improper Certificate Validation in hMailServer
CVE-2026-126622 7.3 HIGH Incorrect Default Permissions in hMailServer
CVE-2026-126624 7.3 HIGH Unverified Ownership in hMailServer
CVE-2026-126611 7.0 HIGH Improper Certificate Validation in hMailServer
CVE-2026-126625 6.7 MEDIUM Incorrect Default Permissions in hMailServer
CVE-2026-126615 5.3 MEDIUM Authentication Bypass by Alternate Name in hMailServer
CVE-2026-126614 5.3 MEDIUM Improper Restriction of Excessive Authentication Attempts in hMailServer
CVE-2026-126616 5.3 MEDIUM Improper Restriction of Excessive Authentication Attempts in hMailServer
CVE-2026-126618 5.3 MEDIUM Improper Restriction of Excessive Authentication Attempts in hMailServer
CVE-2026-126626 5.3 MEDIUM Overly Restrictive Account Lockout Mechanism in hMailServer
CVE-2026-126619 4.8 MEDIUM Misinterpretation of Input in hMailServer

IV. Related Vulnerabilities