CVE-2026-100741: hMailServer JScript RCE
TL;DR - CVE-2026-100741 is a critical, unauthenticated JScript injection flaw in hMailServer 6.0.0–6.3.3 on Windows. - Exploitation requires event scripting, JScript, and relevant handlers to be enabled. - hMailServer 6.3.4 is the apparent fixed release. Upgrade exposed systems and disable risky scripting while remediation is underway. - No confirmed in-the-wild exploitation or verified public proof of concept was identified in the supplied research.
Vulnerability at a Glance
CVE-2026-100741 is a critical hMailServer vulnerability affecting Progressive Robot Ltd. hMailServer on Windows. NVD assigns the issue a CVSS score of 9.8, but the supplied NVD record does not include the complete CVSS vector.
The vulnerability can be remotely reached without authentication when the affected event-scripting configuration and handler paths are present.
| Field | Assessment |
|---|---|
| CVE ID | CVE-2026-100741 |
| CVSS score | 9.8 Critical |
| Attack vector | Network; SMTP AUTH, POP3, or IMAP-related paths may be involved |
| Authentication required | No authentication required |
| Privileges required | None |
| Patch status | Yes, apparent fix in hMailServer 6.3.4 or later |
| Affected versions | hMailServer 6.0.0 through 6.3.3 on Windows |
| Primary impact | Arbitrary JScript execution in the hMailServer service process |
The patch status requires careful interpretation. The NVD record references a vendor commit and the hMailServer 6.3.4 release, while the affected range ends at 6.3.3. Therefore, 6.3.4 is the apparent fixed release, but administrators should confirm the release notes and commit applicability before closing remediation.
Analyst’s Take: Version 6.3.4 is the apparent fix, but version checking alone does not establish exposure or remediation. First identify systems in the affected range and determine whether JScript event scripting and relevant handlers are enabled.
What Is CVE-2026-100741?
The issue is an eval-style code injection flaw in hMailServer’s JScript event dispatcher. The server inserts externally influenced values into JScript string literals before invoking configured event handlers. It escapes apostrophes but does not correctly escape backslashes.
A value containing a backslash followed by an apostrophe can change how the resulting JScript is parsed. An attacker may submit a crafted value through a supported mail protocol. When hMailServer passes that value to a vulnerable event handler, the value may terminate or alter the intended string literal, causing attacker-controlled content to be interpreted as JScript.
The resulting code runs inside the hMailServer service process and may inherit the privileges of the account running that service.
The primary documented path involves a password supplied during a logon that names an existing, active account. Relevant protocols include:
- SMTP AUTH
- POP3
- IMAP
The research also identifies related paths involving:
- A remote POP3 server’s message UID when
OnExternalAccountDownloadis configured. - An SMTP delivery-rejection response when
OnDeliveryFailedis configured.
The vulnerability requires several configuration conditions that are not enabled by default:
- Event scripting must be enabled.
- The scripting language must be set to JScript rather than the default VBScript.
- The applicable event handler must exist.
The supplied NVD description also states that before version 6.2.25, injected script could create arbitrary COM objects. The available description is truncated after “from 6.2…”, so the exact behavior or restriction introduced in 6.2.25 cannot be stated reliably.
Who Is Affected?
The affected product is Progressive Robot Ltd. hMailServer running on Windows, specifically versions 6.0.0 through 6.3.3. Version 6.3.4 is the apparent remediation release referenced by the vendor repository and NVD record.
Organizations should verify the installed version through the hMailServer administration interface, installed-program inventory, or software-management platform.
Version alone does not establish exploitability. Administrators should review whether the following conditions exist:
- Event scripting is enabled.
- JScript is selected as the scripting language.
- An
OnClientValidatePasswordhandler is defined in the event script. - Mail services are reachable by an attacker, either directly or through a trusted network path.
Additional exposure may exist if OnExternalAccountDownload or OnDeliveryFailed is configured. These handlers create separate paths involving POP3 message identifiers or SMTP delivery-failure responses.
The supplied research does not establish that every affected handler is enabled in every hMailServer 6.0.0–6.3.3 installation.
Treat Internet-facing hMailServer systems as priority assets, even when event scripting is believed to be disabled. Configuration drift, inherited event scripts, or undocumented integrations can make the effective configuration different from the default installation.
If the configuration cannot be verified quickly, restrict mail-service exposure and proceed with the upgrade.
CVSS Score Breakdown
NVD assigns CVE-2026-100741 a CVSS score of 9.8 Critical. The available record does not provide the full vector, so a precise metric-by-metric reconstruction should not be presented as authoritative.
The available facts support a severe assessment:
- The attack is remotely reachable.
- No prior authentication is required.
- Successful exploitation can result in arbitrary script execution in a server process.
The practical impact may be high across confidentiality, integrity, and availability. Code running as the hMailServer service account could access mail-server data, alter service configuration or mail content, and disrupt mail processing.
The actual blast radius depends on:
- Service-account permissions.
- Filesystem access.
- Network reachability.
- Credential exposure.
- Whether the host also runs other services.
The non-default configuration requirements reduce the number of exploitable installations, but they do not eliminate the risk for configured systems. CVSS does not replace asset-specific exposure analysis. A server with JScript event scripting enabled and public SMTP, POP3, or IMAP exposure should be prioritized over an isolated server running the same version without event scripting.
Exploitation Status
CVE-2026-100741 was not listed in the CISA Known Exploited Vulnerabilities catalog at the time of the supplied lookup. The record showed on_kev: false. There is therefore no CISA date-added date, remediation due date, required-action entry, or ransomware-campaign designation for this CVE.
No confirmed in-the-wild exploitation evidence was identified in the supplied research. Defenders should not describe exploitation as confirmed. The absence of the CVE from KEV and available reporting does not prove that exploitation has never occurred.
No verified public proof-of-concept repository specific to CVE-2026-100741 was identified. Search results reportedly included unrelated historical hMailServer exploitation material, but those results do not establish a CVE-specific PoC.
The vulnerability remains high risk because it combines remote reachability, no required authentication, and potential code execution in a mail-server process.
How to Detect CVE-2026-100741
Start with configuration and asset discovery. Identify Windows systems running hMailServer 6.0.0 through 6.3.3, then determine:
- Whether event scripting is enabled.
- Whether the language is JScript.
- Whether
OnClientValidatePassword,OnExternalAccountDownload, orOnDeliveryFailedhandlers are present. - Whether SMTP, POP3, or IMAP services are externally reachable.
Do not rely on the presence of a mail service alone because the vulnerable execution path depends on configuration.
Review hMailServer logs for:
- Unusual authentication activity involving existing accounts.
- Repeated failures with malformed-looking password values.
- Unexpected POP3 retrieval behavior.
- SMTP delivery failures that coincide with suspicious source addresses.
Exact log fields and formatting can vary by hMailServer configuration. Preserve original log files and validate suspected patterns against a known-good installation.
For broader guidance on recognizing suspicious application behavior, see the FAQ on detecting stored XSS in admin panels. The same principles—reviewing unexpected input flow, server-side execution, and correlated logs—can support this investigation.
Technical Detection Notes
A practical first-pass search on a Windows host can locate likely event-script configuration files and references to relevant handlers:
$paths = @(
'C:\Program Files\hMailServer',
'C:\Program Files (x86)\hMailServer'
)
Get-ChildItem -Path $paths -Recurse -File -ErrorAction SilentlyContinue |
Select-String -Pattern 'OnClientValidatePassword|OnExternalAccountDownload|OnDeliveryFailed' |
Select-Object Path, LineNumber, Line
The following process-creation query is a detection aid rather than a hMailServer-specific signature. Investigate unexpected child processes created by the hMailServer service, especially scripting engines, command shells, PowerShell, or utilities that create or access COM-backed functionality:
DeviceProcessEvents
| where InitiatingProcessFileName in~ ("hMailServer.exe", "hmailserver.exe")
| where FileName in~ (
"cmd.exe", "powershell.exe", "pwsh.exe", "wscript.exe",
"cscript.exe", "mshta.exe", "rundll32.exe"
)
| project Timestamp, DeviceName, InitiatingProcessFileName,
FileName, ProcessCommandLine, AccountName
For environments without endpoint telemetry, enable or review Windows process-creation auditing and correlate suspicious child-process events with hMailServer authentication, POP3, or SMTP logs.
A matching sequence of crafted authentication failures followed by a new child process should be escalated as a possible compromise, not treated as ordinary mail noise.
Mitigation and Patching
Upgrade hMailServer to 6.3.4 or later, subject to confirmation from the vendor release documentation. The referenced release is the apparent fixed version for the affected range through 6.3.3.
Before upgrading, back up:
- The hMailServer database.
- Configuration files.
- Event scripts.
- Certificates.
- Mail stores.
Test the release in a representative environment if the server supports production mail flow.
Because the supplied material does not provide verified vendor command-line installer syntax, use the official hMailServer 6.3.4 installer or an approved software-distribution workflow instead of relying on an unverified silent-install command.
Record the installed version after the change and confirm that event scripts and mail-flow integrations still operate as intended.
If immediate upgrading is not possible:
- Disable event scripting where operationally feasible.
- Do not select JScript for event processing.
- Review and remove unnecessary definitions for
OnClientValidatePassword,OnExternalAccountDownload, andOnDeliveryFailed. - Restrict access to exposed mail protocols.
- Continue toward full patching.
These actions reduce exposure but should be treated as temporary risk reduction, not a substitute for upgrading.
Credential and Access Controls
Review the hMailServer service account and reduce its permissions to the minimum required for mail processing. Rotate credentials that may have been accessible to the service account if compromise is suspected.
Use unique, strong credentials for administrator and service accounts, stored in an approved enterprise password manager such as Try 1Password →. Credential management does not fix the vulnerability, but it can limit the impact of service-account compromise and reduce password reuse.
Network Containment
A concrete network-containment option is to restrict inbound access to mail protocols to approved relay hosts, VPN ranges, or trusted network segments.
The following Windows Firewall example blocks inbound SMTP, POP3, and IMAP traffic. Adapt it carefully because it can interrupt legitimate mail delivery:
New-NetFirewallRule `
-DisplayName "Temporary hMailServer inbound containment" `
-Direction Inbound `
-Action Block `
-Protocol TCP `
-LocalPort 25,110,143 `
-Profile Domain,Private,Public
A less disruptive approach is to permit only approved source ranges with explicit allow rules and enforce restrictions at the perimeter firewall or mail gateway.
Do not expose administrative interfaces or database services while investigating the host.
Verification After Remediation
After containment or patching, restart the hMailServer service through the organization’s normal change process and verify the running binary version:
Get-Service -Name hMailServer
Get-Process -Name hMailServer -FileVersionInfo |
Select-Object Path, FileVersion, ProductVersion
Confirm that:
- The installed version is 6.3.4 or later.
- JScript event scripting is disabled unless there is a documented business requirement.
- Unnecessary event handlers have been removed.
- Mail flow operates normally.
- No unexpected child processes are created by hMailServer.
- Firewall and gateway restrictions match the approved architecture.
If compromise is suspected, isolate the host, preserve hMailServer and Windows event logs, collect process and network telemetry, rotate credentials that may have been accessible to the service account, and investigate persistence mechanisms.
Patch installation alone does not remove attacker-created accounts, scheduled tasks, web shells, modified scripts, or other post-exploitation artifacts. Organizations should document any temporary mitigations as compensating controls and track them through to permanent remediation. See the compensating control glossary entry for related risk-management terminology.
References
The NVD record for CVE-2026-100741 is available at:
The vendor-referenced corrective commit is:
The apparent remediation release is:
CISA’s Known Exploited Vulnerabilities catalog is available at:
The available research establishes the affected range, root cause, configuration prerequisites, and apparent remediation release. It does not establish:
- The complete CVSS vector.
- The exact post-6.2.25 COM-object behavior.
- Confirmed exploitation in the wild.
- A verified public proof of concept.
Defenders should treat those items as unknown rather than infer them from the severity score. The first actions are to inventory hMailServer 6.0.0 through 6.3.3, verify event-scripting configuration, restrict exposed services where necessary, and upgrade affected systems to 6.3.4 or later.
This article may contain affiliate links. We earn a commission on qualifying purchases at no extra cost to you.