{"id":"CVE-2026-126621","aliases":["CVE-2026-126621"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Certificate Validation in hMailServer","summary":"Progressive Robot hMailServer 6.0.0-B1 through 6.3.7 on Windows hands OpenSSL the names of its own TLS files - the listeners' certificates, chains, private keys and Diffie-Hellman parameters, a port's client-certificate CA file (from 6.2.19), the object store's CA file (from 6.3.4) and the ACME client's keys and certificates - as Latin-1 bytes, which on code page 1252 are the code page's own for U+00A0 to U+00FF, and OpenSSL's file opening on Windows reads a name as UTF-8 first and opens the file at that reading when it is there, or creates it there when its folder is. When every byte of a configured name outside ASCII also reads as UTF-8 - for example U+00C3 U+00A9, the bytes C3 A9, which are U+00E9 in UTF-8 - the server used the file at that other name whenever one was there, which allows a local attacker who can create that file or its folder but cannot change the configured one, as any user can by default beside a file an administrator keeps under ProgramData, to have a port that logs on by client certificate (from 6.2.25) accept certificates from a certificate authority of the attacker's own and so sign in over the network as any mailbox without its password; to have the server trust such an authority for its object store and, intercepting that connection, read and modify the messages it stores; to receive the private keys the ACME client writes, the key of a certificate issued for the server's names among them; or to keep TLS ports from starting. The configuration is not the default: by default these files have names in ASCII, client certificates are off on every port, and the object store and ACME are off. The Linux builds are not affected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Progressive Robot hMailServer 6.0.0-B1 through 6.3.7 on Windows hands OpenSSL the names of its own TLS files - the listeners' certificates, chains, private keys and Diffie-Hellman parameters, a port's client-certificate CA file (from 6.2.19), the object store's CA file (from 6.3.4) and the ACME client's keys and certificates - as Latin-1 bytes, which on code page 1252 are the code page's own for U+00A0 to U+00FF, and OpenSSL's file opening on Windows reads a name as UTF-8 first and opens the file at that reading when it is there, or creates it there when its folder is. When every byte of a configured name outside ASCII also reads as UTF-8 - for example U+00C3 U+00A9, the bytes C3 A9, which are U+00E9 in UTF-8 - the server used the file at that other name whenever one was there, which allows a local attacker who can create that file or its folder but cannot change the configured one, as any user can by default beside a file an administrator keeps under ProgramData, to have a port that logs on by client certificate (from 6.2.25) accept certificates from a certificate authority of the attacker's own and so sign in over the network as any mailbox without its password; to have the server trust such an authority for its object store and, intercepting that connection, read and modify the messages it stores; to receive the private keys the ACME client writes, the key of a certificate issued for the server's names among them; or to keep TLS ports from starting. The configuration is not the default: by default these files have names in ASCII, client certificates are off on every port, and the object store and ACME are off. The Linux builds are not affected.","source":"cvelist"}],"published":"2026-11-11T08:36:26.283Z","modified":"2026-11-17T15:17:39.550Z","severity":{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"type":"semver","introduced":"6.0.0-B1","lastAffected":"6.3.7","status":"affected"}],"vendor":"Progressive Robot Ltd","product":"hMailServer","repo":"https://gitlab.com/hmailserver/hmailserver","source":"cvelist"}],"references":[{"url":"https://gitlab.com/hmailserver/hmailserver/-/work_items/115","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.8","tags":[],"sources":["cvelist","nvd"]}],"credits":["Found by the hMailServer project (Progressive Robot Ltd)"],"assigner":"GitLab","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-17T14:52:15.611Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126621","url":"https://www.cve.org/CVERecord?id=CVE-2026-126621","licence":"CVE Terms of Use","modified":"2026-11-17T14:52:28.198Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126621","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126621","licence":"Public domain","modified":"2026-11-17T15:17:39.550Z"}],"updatedAt":"2026-11-25T22:59:50.345Z","epss":{"score":0.00189,"percentile":0.08921,"date":"2026-12-01T12:00:22.000Z"}}