Live threats

All CVEs / Progressive Robot Ltd

CVE-2026-100741Progressive Robot Ltd hMailServer

Unauthenticated JScript Code Injection in hMailServer

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Sep 27, 2026
Updated
Sep 29, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-95
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

hMailServer versions 6.0.0 through 6.3.3 on Windows contains JScript code injection in the event-script dispatcher. A remote unauthenticated attacker can execute arbitrary JScript code with service account privileges by sending passwords containing a backslash followed by an apostrophe in SMTP AUTH, POP3, or IMAP logon attempts. Exploitation requires non-default configuration: event scripting enabled, JScript language selected, and OnClientValidatePassword handler defined.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 6.3.4

Update hMailServer to version 6.3.4 or later. Verify that event scripting is disabled if not required.

Vendor advisory · gitlab.com ↗

  1. Apply the vendor's security update for hMailServer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.