Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-100741: hMailServer allows remote code execution via crafted password
CVE-2026-100741 · published 22 days ago
Summary
Versions 6.0.0 through 6.3.3 of hMailServer on Windows can run any script if an attacker sends a specially formed password containing a backslash and an apostrophe. This requires event scripting to be enabled and a JScript handler to be defined, but when present it lets an unauthenticated attacker execute commands with the same rights as the mail service. Disable event scripting or switch to the default VBScript language, and apply the latest updates to close the issue.
What to do
- Update progressive robot ltd hmailserver to version 6.3.4 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| progressive robot ltd | hmailserver | < 6.3.4 |
Original advisory text
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in hMailServer
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.
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-1007... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-100741 Vendor Advisory
- https://gitlab.com/Progressiverobot/hmailserver/-/releases/v6.3.4
- https://gitlab.com/Progressiverobot/hmailserver/-/commit/5a3de9001d6c5e833662ada...
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Timeline
Published27 Sep 2026
Updated15 Oct 2026
First seen28 Sep 2026
Track software like this
Free during beta