CVE-2026-126625: Incorrect Default Permissions in hMailServer

Published Nov 11, 2026
·
Updated

Incorrect default permissions in the Windows installer of Progressive Robot hMailServer 6.3.7 allow a local authenticated user to run code as the administrator who installs the product, when it is installed into a new program folder in a location whose permissions let every user write, such as the root of a drive. 6.3.7 fixed CVE-2026-107571 by giving the program folder, Bin and ControlPanel permissions that only administrators may change, but its setup lets Inno Setup make a new program folder first, with the permissions the folder above hands down, and replaces them only afterwards, tens of milliseconds later (33 to 139 milliseconds in the project's test runs). In that time any local account may make files and folders in the new folder, which keep that account as their owner, among them the Bin folder that setup then copies the programs into. Setup runs programs from Bin with the administrator's elevated rights, registering the service among them, before its hardening at the end of setup takes such a folder back, and those programs load a library placed in Bin in place of the system's. The default installation under Program Files, whose folders give ordinary users read and execute only, is not affected.

Affected Software

1 affected component
Progressive Robot hMailServer=6.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade hMailServer to a version that resolves this vulnerability.

    Fixed in 6.3.8
  2. Configuration

    Before running setup, create the program folder from an elevated Command Prompt and run icacls "<program folder>" /inheritance:r /grant:r *S-1-5-18:(OI)(CI)F *S-1-5-32-544:(OI)(CI)F *S-1-5-32-545:(OI)(CI)RX, then run icacls "<program folder>" /setowner *S-1-5-32-544. Verify with dir /q /a "<program folder>" that nothing has been created in it.

    hMailServer installation program folder NTFS permissions and owner = SYSTEM and Administrators: full control; Users: read and execute; inheritance disabled; Administrators owner
  3. Compensating control

    Until the installation is upgraded or the program folder is hardened, install hMailServer under Program Files or in a new folder inside a folder that only administrators may change.

  4. Operational

    Restart Windows before running setup so that nothing opened in the program folder before its permissions were set remains open.

Event History

Nov 11, 2026
CVE Published
via MITRE·08:31 AM
Data Sourced
via MITRE·08:31 AM
RemedyDescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203