CVE-2026-100741

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in hMailServer

9.8 critical EPSS 1.32%

Published 27 Sep 2026 Updated 28 Sep 2026 CNA: GitLab

Check your servers for CVE-2026-100741

The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-100741 affects hmailserver, with the command that installs the fix. The free plan covers one server and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

9.8 critical CVSS 3.1 from GitLab (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 71.0% of all scored CVEs. Scores of 27 Nov 2026.

The assessment of CISA (SSVC, 28 Sep 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code

Affected products

As the CNA lists them.

ProductVersions
hMailServer
affected from 6.0.0, before 6.3.4
Other versions: unaffected

Is my server affected?

Find the installed version of hmailserver and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i hmailserver
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-100741 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-100741

RHEL, Rocky, Alma, Fedora

rpm -q hmailserver
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-100741

Alpine

apk list --installed | grep -i hmailserver

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-100741
trivy image --scanners vuln IMAGE | grep CVE-2026-100741

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.

References

Other references

Source: the record CVE-2026-100741 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.