Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107571 Overview
CVE-2026-107571 is an insecure permissions vulnerability in the Windows installer of Progressive Robot hMailServer versions 6.0.0 through 6.3.6. The installer creates its program folder and Bin subfolder without assigning explicit access control lists, causing both to inherit permissions from the parent directory. When administrators install hMailServer outside the default Program Files path, such as the root of an NTFS volume, inherited permissions grant write access to Authenticated Users or Users. A local authenticated attacker can then replace service binaries or plant malicious DLLs loaded by the mail service running as LocalSystem or a virtual service account, achieving code execution with high privileges [CWE-276].
Critical Impact
Local authenticated users can gain LocalSystem-level code execution by tampering with files in the hMailServer Bin directory when installed outside Program Files.
Affected Products
- Progressive Robot hMailServer 6.0.0 through 6.3.6 (Windows installer)
- Installations placed in a folder whose permissions inherit from a writable parent, such as a drive root
- Both Windows client and Windows Server deployments running the mail service
Discovery Timeline
- 2026-10-19 - CVE-2026-107571 published to the National Vulnerability Database (NVD)
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-107571
Vulnerability Analysis
The hMailServer Windows installer deploys server binaries into a Bin subdirectory of the chosen program folder. The installer does not apply explicit discretionary access control lists (DACLs) to either the program folder or Bin. Both directories therefore inherit the DACL of their parent location.
Under the default Program Files path, the inherited DACL grants ordinary users only read and execute rights, so the configuration is safe. The installer, however, accepts any path without warning. When an administrator chooses a non-default path such as D:\hMailServer, the directory inherits the drive root DACL. On Windows clients this grants Authenticated Users Modify rights; on Windows Server it grants the Users group permission to create files and folders.
Root Cause
The root cause maps to [CWE-276: Incorrect Default Permissions]. The installer relies on DACL inheritance rather than setting its own hardened permissions on the program folder and Bin. Any writable parent location therefore propagates excessive rights to the directories holding service binaries, administrative tools, and dependency libraries.
Attack Vector
A local authenticated user with no administrative rights can abuse the writable Bin directory in three ways. First, they can replace or modify the hMailServer service executable, which runs as LocalSystem or a virtual service account on next start. Second, they can overwrite programs that administrators launch elevated during setup and maintenance from Bin. Third, they can drop a malicious library in Bin that the hMailServer programs load in place of the legitimate system copy, achieving DLL hijacking against elevated processes. Each path yields code execution with the privileges of the compromised process.
See the hMailServer v6.3.7 release notes and work item #78 for the vendor's technical description.
Detection Methods for CVE-2026-107571
Indicators of Compromise
- Unexpected modification timestamps on executables and DLLs inside the hMailServer Bin directory
- Presence of unsigned or unknown-publisher binaries alongside legitimate hMailServer files in Bin
- New DLLs in Bin matching names of system libraries normally loaded from System32
- hMailServer service process (hMailServer.exe) spawning unexpected child processes under LocalSystem
Detection Strategies
- Audit DACLs on the hMailServer program folder and Bin subfolder using icacls and flag any grant of write, modify, or create rights to Authenticated Users or Users.
- Enable Windows Security auditing (Object Access, File System) on the Bin directory to log write and create events by non-administrative principals.
- Monitor for file create and overwrite events on .exe and .dll files in the hMailServer install path originating from non-SYSTEM, non-Administrator accounts.
Monitoring Recommendations
- Alert on service binary replacement or DLL drops in third-party service directories outside Program Files.
- Track process creation chains from hMailServer.exe and correlate against baseline parent-child relationships.
- Collect endpoint telemetry for module loads by the hMailServer service to identify library side-loading from writable directories.
How to Mitigate CVE-2026-107571
Immediate Actions Required
- Upgrade hMailServer to version 6.3.7 or later, which addresses the installer permissions issue.
- Inventory all hMailServer installations and identify any deployed outside %ProgramFiles% on an NTFS volume root.
- For affected hosts, remove write and modify rights from Authenticated Users and Users on both the program folder and the Bin subdirectory.
- Restart the hMailServer service after remediation and verify binary integrity against the vendor-released hashes.
Patch Information
Progressive Robot released hMailServer 6.3.7, which corrects installer behavior. Review the hMailServer v6.3.7 release notes and GitLab work item #78 for fix details and upgrade guidance.
Workarounds
- Reinstall hMailServer under the default %ProgramFiles% path so the program folder inherits a safe DACL.
- Explicitly set a hardened DACL on the hMailServer directory and Bin subfolder, granting write access only to SYSTEM and Administrators.
- Restrict interactive and remote logon on mail servers to administrators to reduce the pool of local authenticated users able to exploit the condition.
# Configuration example
# Remove inherited permissions and apply a hardened DACL on the hMailServer install directory
icacls "D:\hMailServer" /inheritance:r
icacls "D:\hMailServer" /grant:r "SYSTEM:(OI)(CI)F" "BUILTIN\Administrators:(OI)(CI)F" "BUILTIN\Users:(OI)(CI)RX"
icacls "D:\hMailServer\Bin" /inheritance:r
icacls "D:\hMailServer\Bin" /grant:r "SYSTEM:(OI)(CI)F" "BUILTIN\Administrators:(OI)(CI)F" "BUILTIN\Users:(OI)(CI)RX"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

