{"id":"CVE-2026-107566","aliases":["CVE-2026-107566"],"related":[],"kind":"vulnerability","state":"published","title":"Missing Authorization in hMailServer","summary":"Missing authorization in the Sieve editheader action (6.2.22 through 6.3.6) and in the mail-rule Set header value action (6.0.0 through 6.3.6) of Progressive Robot hMailServer allows an authenticated user to make the server send mail as any address, DKIM-signed where the address is at a domain the server signs for. A Sieve script's editheader (addheader/deleteheader) could add or delete any header field except Received and Return-Path, and the server applies a script's header edits before it queues a redirect, so the redirected copy is sent as the script left it. The server signs a message's first delivery pass as the domain named in its From header wherever it signs DKIM for that domain and the message carries no signature of it. A script could therefore delete and re-add From - another account's address, or anyone's at a hosted domain - and redirect, so the server sent the message in that name and, for a hosted domain, signed it with that domain's DKIM key, a forgery aligned to pass the domain's DMARC; or, where another sender's domain is one the server signs for, delete the DKIM-Signature that sender's message arrived with, alter a field, and redirect, so the server re-signed the altered message as that sender's domain. editheader placed no restriction on From, Sender, Resent-From, Resent-Sender or DKIM-Signature. The editheader action was introduced in 6.2.22. In the mail-rule engine, a domain's or an account's rule's Set header value action could likewise set From, Sender, Resent-From, Resent-Sender or DKIM-Signature ahead of a forward or a copy, whoever the rule belonged to, so that an account acting on its own rules over COM, a domain administrator, or an API key confined to a domain (over the REST API from 6.3.4) could have the server forward or copy a message in the name of any address, signed, where that address is at a domain the server hosts with DKIM signing enabled, with that domain's key.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Missing authorization in the Sieve editheader action (6.2.22 through 6.3.6) and in the mail-rule Set header value action (6.0.0 through 6.3.6) of Progressive Robot hMailServer allows an authenticated user to make the server send mail as any address, DKIM-signed where the address is at a domain the server signs for. A Sieve script's editheader (addheader/deleteheader) could add or delete any header field except Received and Return-Path, and the server applies a script's header edits before it queues a redirect, so the redirected copy is sent as the script left it. The server signs a message's first delivery pass as the domain named in its From header wherever it signs DKIM for that domain and the message carries no signature of it. A script could therefore delete and re-add From - another account's address, or anyone's at a hosted domain - and redirect, so the server sent the message in that name and, for a hosted domain, signed it with that domain's DKIM key, a forgery aligned to pass the domain's DMARC; or, where another sender's domain is one the server signs for, delete the DKIM-Signature that sender's message arrived with, alter a field, and redirect, so the server re-signed the altered message as that sender's domain. editheader placed no restriction on From, Sender, Resent-From, Resent-Sender or DKIM-Signature. The editheader action was introduced in 6.2.22. In the mail-rule engine, a domain's or an account's rule's Set header value action could likewise set From, Sender, Resent-From, Resent-Sender or DKIM-Signature ahead of a forward or a copy, whoever the rule belonged to, so that an account acting on its own rules over COM, a domain administrator, or an API key confined to a domain (over the REST API from 6.3.4) could have the server forward or copy a message in the name of any address, signed, where that address is at a domain the server hosts with DKIM signing enabled, with that domain's key.","source":"cvelist"}],"published":"2026-10-19T15:34:27.491Z","modified":"2026-10-20T20:17:13.577Z","severity":{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"6.0.0","lastAffected":"6.3.6","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/83","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.7","tags":[],"sources":["cvelist","nvd"]}],"credits":["Found in the hMailServer project's own security review (Progressive Robot Ltd)"],"assigner":"GitLab","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-20T19:25:38.300Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107566","url":"https://www.cve.org/CVERecord?id=CVE-2026-107566","licence":"CVE Terms of Use","modified":"2026-10-20T19:25:48.560Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107566","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107566","licence":"Public domain","modified":"2026-10-20T20:17:13.577Z"}],"updatedAt":"2026-11-25T22:59:45.504Z","epss":{"score":0.00181,"percentile":0.08043,"date":"2026-12-01T12:00:22.000Z"}}