Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107568 Overview
CVE-2026-107568 is a missing authorization vulnerability [CWE-862] in Progressive Robot hMailServer. The flaw affects the Sieve notify action in versions 6.2.22 through 6.3.6 and the mail-rule Reply action in versions 6.0.0 through 6.3.6. An authenticated user can send mail through the server as any address because the server does not verify that the :from tag or reply address belongs to the account. When the forged From header matches a domain the server hosts with DomainKeys Identified Mail (DKIM) signing enabled, the server signs the message with that domain's key, producing forged mail that passes Domain-based Message Authentication, Reporting and Conformance (DMARC) alignment.
Critical Impact
Authenticated users can send DKIM-signed, DMARC-aligned mail as any address on any hosted domain, enabling targeted phishing and brand impersonation.
Affected Products
- Progressive Robot hMailServer 6.2.22 through 6.3.6 (Sieve notify action)
- Progressive Robot hMailServer 6.0.0 through 6.3.6 (mail-rule Reply action)
- hMailServer deployments exposing ManageSieve, the REST API self-service filter, or the administration interface
Discovery Timeline
- 2026-10-19 - CVE-2026-107568 published to the National Vulnerability Database
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-107568
Vulnerability Analysis
The vulnerability resides in two separate code paths that both construct outbound mail from user-controlled sender addresses. In the Sieve notify action, the server writes the :from tag directly into the notification's From header without validating ownership. In the mail-rule engine, a rule's Reply action sends mail from whatever address the action names, regardless of the rule owner's identity.
Both paths bypass the ownership checks the server already applies to the Sieve vacation action and to mail queued over the Component Object Model (COM) interface or submitted through webmail. The downstream DKIM signer selects the signing key by the From header's domain. When the forged address matches a locally hosted DKIM-enabled domain, the resulting message carries a valid signature and aligns to the domain's DMARC policy.
Root Cause
The notify action and the missing check were introduced in version 6.2.22. The server treats the Sieve script author and the mail-rule owner as authorized senders for any address the script or rule specifies, rather than restricting the sender to addresses the account controls. This is a classic missing authorization flaw [CWE-862] in a privileged mail-sending primitive.
Attack Vector
An attacker needs an account that can store a Sieve script over ManageSieve, the REST API self-service filter, or the administration interface. The attacker uploads a Sieve script with a notify action whose :from names the victim address. Triggering the script causes the server to emit a DKIM-signed notification impersonating the target.
For the mail-rule path, an account acting on its own rules over COM, a domain administrator, or a REST API key scoped to a domain (from version 6.3.4) can configure a Reply action that forges the sender. See the GitLab hMailServer Work Item #82 for the full technical write-up.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-107568
Indicators of Compromise
- Outbound mail bearing a From header for an address the authenticated submitter does not own
- Sieve scripts stored via ManageSieve or the REST API containing notify actions with :from tags referencing addresses outside the account's mailbox set
- Mail-rule Reply configurations where the configured reply address does not match the rule owner's addresses
- DKIM-signed outbound notifications originating from accounts that do not normally send on behalf of the signed domain
Detection Strategies
- Audit stored Sieve scripts across all accounts and flag any notify action whose :from value does not resolve to an address owned by the script's account
- Correlate SMTP submission logs with authenticated session identity to detect From header mismatches on outbound mail
- Review mail-rule exports from the administration interface and REST API for Reply actions configured with non-owner addresses
Monitoring Recommendations
- Enable verbose logging on ManageSieve, the REST API filter endpoint, and the administration interface to capture script and rule modifications with authenticated user context
- Forward hMailServer submission and DKIM-signing logs to a centralized SIEM to correlate forged From headers with authenticated sessions
- Alert on DMARC-aligned outbound mail where the submitter identity differs from the From domain owner
How to Mitigate CVE-2026-107568
Immediate Actions Required
- Upgrade hMailServer to version 6.3.7 or later, which contains the authorization fix
- Enumerate and review all stored Sieve scripts and mail rules for notify and Reply actions with forged sender addresses
- Rotate DKIM keys for hosted domains if forged mail is suspected to limit the reputational impact of previously signed messages
Patch Information
Progressive Robot released the fix in hMailServer 6.3.7. The release enforces that the :from tag in a Sieve notify action and the sender in a mail-rule Reply action must belong to the submitting account.
Workarounds
- Disable ManageSieve and the REST API self-service filter endpoints for untrusted accounts until the server is patched
- Restrict Sieve script storage and mail-rule configuration to a limited set of trusted administrators
- Temporarily disable DKIM signing on high-value hosted domains to reduce the risk of DMARC-aligned forgeries until the patch is applied
# Verify installed hMailServer version and plan upgrade to 6.3.7+
# On the hMailServer host, inspect the version via the admin interface
# or query the installation registry key, then schedule the upgrade.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

