CVE-2026-100741: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in hMailServer

Published Sep 27, 2026
·
Updated

Eval injection in the JScript event-script dispatcher in Progressive Robot Ltd's hMailServer, versions 6.0.0 through 6.3.3 on Windows, allows a remote, unauthenticated attacker to run arbitrary JScript inside the hMailServer service process, with the privileges of the service account, via a password containing a backslash followed by an apostrophe, sent in any logon (SMTP AUTH, POP3, IMAP) that names an existing, active account. Exploitation requires a non-default configuration: event scripting enabled (off by default), the script language set to JScript (the default is VBScript), and an OnClientValidatePassword handler defined in the event script. The server wrote event values into the handler call as JScript string literals, escaping the apostrophe but not the backslash, so such a value closes the literal and the rest of it is parsed as script. The same flaw is reachable by a remote POP3 server through the message UID it returns, where an OnExternalAccountDownload handler is defined, and by a remote SMTP server through the error reply it rejects a delivery with, where an OnDeliveryFailed handler is defined. Before 6.2.25 the injected script can create any COM object, and from 6.2.25 it can with the default ScriptAllowedObjects value of ''; WScript.Shell among them gives command execution as the service account. VBScript event scripts and the Linux builds of Progressive Robot Ltd's hMailServer are not affected.

Affected Software

1 affected component
Progressive Robot hMailServer>=6.0.0<=6.3.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Progressive Robot Ltd hMailServer to a version that resolves this vulnerability.

    Fixed in 6.3.4
  2. Configuration

    Set the event script language to VBScript and write the event handlers in VBScript instead of JScript.

    hMailServer event scripting script language = VBScript
  3. Configuration

    Do not define OnClientValidatePassword, OnExternalAccountDownload, or OnDeliveryFailed handlers in JScript.

    hMailServer event scripting JScript event handlers = none

Event History

Sep 27, 2026
CVE Published
via MITRE·07:12 AM
Data Sourced
via MITRE·07:12 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Are default hMailServer installations affected?

Not through the JScript event-script path described. Exploitation requires event scripting to be enabled, JScript to be selected instead of the default VBScript, and an OnClientValidatePassword handler to be defined.

2

What does an attacker need to exploit the logon-related path?

The attacker must be able to reach SMTP AUTH, POP3, or IMAP and send a password containing a backslash followed by an apostrophe while naming an existing, active account. No authentication is required.

3

Are there attack paths that do not involve client logon?

Yes. A remote POP3 server can trigger the issue through a returned message UID when OnExternalAccountDownload is defined, and a remote SMTP server can trigger it through a delivery-rejection error reply when OnDeliveryFailed is defined.

4

What privileges would injected code receive?

Injected JScript runs inside the hMailServer service process with the privileges of the account running that service. Before version 6.2.25, the injected script can create any COM object.

5

Which versions are in scope?

The affected versions are hMailServer 6.0.0 through 6.3.3 on Windows. The provided references include a v6.3.4 release.

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