Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend S/MIME-signed email with crafted certificate
-
DeliveryVictim opens message in hMailServer webmail
-
ExploitWebmail stores untrusted cert under listed address
-
ExecutionVictim sends encrypted mail to that correspondent
-
ImpactAttacker intercepts ciphertext and decrypts with held key
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires that the hMailServer webmail S/MIME feature be in active use and that a webmail user open an attacker-supplied S/MIME-signed message whose signing certificate lists the targeted correspondent's email address as its first listed address - the webmail then stores that certificate (even with an untrusted/unverified chain) keyed to the listed address rather than the message's From address, and alongside any legitimate certificate already held. The flaw only yields data when the user subsequently composes S/MIME-encrypted mail to that address AND the attacker independently obtains a copy of that resulting ciphertext (e.g., via network/mailbox interception). Limiting factors: S/MIME must be used in the webmail, mandatory user interaction (opening the signed message), the attacker must control certificate contents, and the attacker must capture the later encrypted message - there is no direct read of server data. |
| Impact | This is a moderate-priority confidentiality flaw, not an urgent fire. The provided CVSS:3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N, base 5.9) reflects the practical friction well: although the attacker is unauthenticated and operates over the network (AV:N/PR:N), successful exploitation requires a chain of conditions that justify AC:H - a victim must open the attacker's S/MIME-signed message in the hMailServer webmail (UI:R), the attacker's certificate must list the targeted correspondent's address first, the victim must later send S/MIME-encrypted mail to that address, and the attacker must separately obtain a copy of that later ciphertext. No EPSS score, CISA KEV listing, or public POC is present in the supplied data, so exploitation status is: no public exploit identified at time of analysis. There are no conflicting signals here - all signals (high complexity, multi-step preconditions, niche product, no exploitation evidence) point in the same direction: a genuine but hard-to-exploit targeted information-disclosure weakness rather than a mass-exploited threat. A vendor patch (v6.3.6) is confirmed available, which makes remediation straightforward and lowers residual risk. |
| Exploit ScenarioDerived | A targeted attacker sends an S/MIME-signed email, whose signing certificate is crafted to list a victim's regular correspondent as its first email address, to a user of the hMailServer webmail. When the user opens that signed message, the webmail silently stores the untrusted certificate keyed to that correspondent's address; any later S/MIME-encrypted mail the user sends to that correspondent is then also encrypted to the attacker's key, so an attacker who captures a copy of such a message can decrypt it. No public exploit code is identified in the available data, and the attack requires both user interaction and subsequent interception of the ciphertext. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Improper certificate validation in the hMailServer webmail S/MIME handler (versions 6.3.2 through 6.3.5) allows a remote unauthenticated attacker to have their own encryption key silently added to the recipient set of messages a victim later sends to a target correspondent, exposing those messages to anyone holding the attacker's private key. The webmail keeps the signing certificate from any opened S/MIME-signed message even when the server finds the chain untrusted, stores it under the certificate's first listed e-mail address rather than the message's From address, and appends it alongside any legitimate certificate already held for that address; the attacker still needs to independently obtain a copy of the later ciphertext (for example through mailbox or network interception) to decrypt it. Exploitation requires the S/MIME feature to be in active use and a user to open the crafted signed message, and no public exploit code or confirmed active exploitation was identified at time of analysis; the vendor has released hMailServer 6.3.6 as the fix.
RemediationAI
Upgrade to hMailServer 6.3.6, which is the vendor-released fix for CVE-2026-107587 (release notes: https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6, work item: https://gitlab.com/hmailserver/hmailserver/-/work_items/66); this is the only complete remediation because the corrected behavior involves both chain-trust enforcement and correct binding of retained certificates to the message From address without merging into the existing certificate store. Where immediate upgrade is not possible, the most effective compensating control is to disable S/MIME signing/encryption handling in the webmail client for all users - the trade-off being loss of end-to-end encrypted and signed mail in the browser interface, though external S/MIME clients are unaffected. Administrators can also review and purge stored per-address certificates in the webmail's user certificate store to remove any attacker-injected entries, and should restrict webmail access to trusted networks or place it behind a VPN/zero-trust proxy so that an attacker cannot position themselves to capture the resulting ciphertext, at the cost of reduced remote-access convenience. Because exploitation additionally requires the attacker to obtain a copy of the later encrypted message, enforcing TLS on all mail transport and IMAP/POP paths and monitoring for anomalous certificate entries provides defense in depth, but none of these substitutes for patching to 6.3.6.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-295, Improper Certificate Validation, occurring in the S/MIME trust and key-association logic of the hMailServer webmail module (CPE cpe:2.3:a:progressive_robot_ltd:hmailserver:*:*:*:*:*:*:*:*). When a user opens an S/MIME-signed message, a correct implementation should (a) verify the signer certificate chains to a trusted root before reusing it for encryption, and (b) bind any retained certificate to the actual sender identity taken from the message's From header. hMailServer instead caches the signer certificate unconditionally - even when the chain is untrusted - keys it to the first e-mail address enumerated inside the certificate rather than the From address, and merges it into the existing certificate set for that address instead of replacing it. Because outgoing S/MIME mail is subsequently encrypted to every certificate stored for the destination address, the injected certificate becomes a recipient of the ciphertext. This is a logic/validation failure in certificate-to-identity binding, leveraging the OpenSSL/S/MIME handling stack rather than a memory-safety defect, and it maps to the CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N vector assessed independently.
Know when Hmailserver gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
Unauthenticated remote delivery (AV:N/PR:N) but multiple preconditions and separate ciphertext capture give AC:H; victim must open the signed message (UI:R); confidentiality of encrypted mail is high while certificate-store poisoning is a low integrity impact.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
1DescriptionCVE.org
Improper certificate validation in the webmail of Progressive Robot hMailServer 6.3.2 through 6.3.5 allows a remote unauthenticated attacker to have S/MIME-encrypted mail that the account later sends to another correspondent also encrypted to the attacker's key. When its recipient opened a signed message, the webmail kept the signer's certificate for encrypting replies whether or not the server found its chain trusted, under the first e-mail address the certificate listed rather than the message's From address, and beside any certificate already held for that address. Encrypted mail later sent from the webmail to that address was encrypted to every certificate held for it, so a holder of the kept certificate's key who obtains a copy of such a message can read it.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Hmailserver
View allArbitrary JScript execution in Progressive Robot Ltd's hMailServer 6.0.0 through 6.3.3 on Windows lets an unauthenticate
SQL injection in the database layer of hMailServer 6.0.0-B1 through 6.2.18 allows a remote attacker to alter the SQL sta
Cross-tenant configuration takeover in hMailServer 6.0.0 through 6.3.6 lets an authenticated user holding only a domain-
Cross-site scripting in Progressive Robot hMailServer 6.3.2 through 6.3.5 can let a remote, unauthenticated attacker exe
Local privilege escalation in Progressive Robot hMailServer 6.2.3 through 6.3.7 on Windows allows an authenticated local
Local privilege escalation in the Windows installer of Progressive Robot hMailServer 6.0.0 through 6.3.7 lets a local au
Incorrect authorization in the COM administration API of hMailServer 6.3.4 through 6.3.6 lets a credential holding the s
Local privilege escalation in Progressive Robot hMailServer 6.0.0 through 6.3.6 allows any authenticated, non-administra
Incorrect default permissions in the Windows installer for Progressive Robot hMailServer 6.0.0 through 6.3.5 let any loc
Heap-based buffer overflow in hMailServer 6.0.0 through 6.3.3 on Windows lets a local interactive user - with no hMailSe
Local privilege escalation in hMailServer 6.0.0 through 6.3.5 on Windows allows an authenticated local user-one with an
Local privilege escalation in Progressive Robot hMailServer 6.3.4 and 6.3.5 on Linux allows an attacker who already has
EUVD-2026-94865
GHSA-j6xf-vpp5-5357
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB