Skip to main content
Vulnerability Database/CVE-2026-107585

CVE-2026-107585: hMailServer REST API DOS Vulnerability

CVE-2026-107585 is a denial of service flaw in Progressive Robot hMailServer REST API that disrupts OpenID Connect, SAML, and passkey sign-ins. This post explains its impact, affected versions, and mitigation steps.

Published:

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-107585 Overview

CVE-2026-107585 is a denial-of-service vulnerability in Progressive Robot hMailServer versions 6.3.4 and 6.3.5. The flaw affects the REST API routes that initiate single sign-on (SSO) flows and issue passkey sign-in challenges. These routes accept unauthenticated requests and store pending state in bounded in-memory tables that evict the oldest entry when full. A remote unauthenticated attacker can flood these endpoints at a few requests per second (around 100 per second for passkeys) and evict legitimate users' pending sign-in state before their browsers return to complete the flow. The result is a sustained denial of OpenID Connect, SAML, and passkey sign-ins for all other users.

Critical Impact

Remote unauthenticated attackers can deny OpenID Connect, SAML, and passkey authentication to every other user of an hMailServer instance for as long as the flood continues.

Affected Products

  • Progressive Robot hMailServer 6.3.4
  • Progressive Robot hMailServer 6.3.5
  • hMailServer REST API SSO and passkey sign-in endpoints

Discovery Timeline

  • 2026-10-08 - CVE-2026-107585 published to the National Vulnerability Database
  • 2026-10-08 - Last updated in NVD database
  • Patch released - hMailServer 6.3.6 addresses the issue per the GitLab hMailServer Release 6.3.6 notes

Technical Details for CVE-2026-107585

Vulnerability Analysis

The vulnerability is an uncontrolled resource consumption issue classified under [CWE-770]. hMailServer's REST API exposes two unauthenticated routes that start sign-in flows: one that initiates a single sign-on handshake with an upstream OpenID Connect or SAML identity provider, and one that issues a WebAuthn passkey challenge. Each call allocates a pending state record keyed to the browser session so the response from the identity provider or authenticator can be correlated back to the originating request.

Both pending-state structures are fixed-capacity tables. When the table reaches capacity, the server evicts the oldest entry regardless of ownership and inserts the new one. Because the start routes do not require authentication, any remote caller can insert entries at will. An attacker who sustains the rate needed to fill the table faster than legitimate flows complete will evict every other user's pending state before the user's browser returns, causing the correlating lookup to fail and the sign-in to be rejected.

Root Cause

The root cause is a bounded cache that uses oldest-entry eviction without rate limiting, per-caller quotas, or authentication on the state-creating endpoints. Pending-state tables that can be written by anonymous callers must either reject new entries once full or isolate quotas per source, rather than discarding in-progress state from unrelated users.

Attack Vector

The attack is network-reachable, requires no privileges, and no user interaction. An attacker scripts repeated requests against the SSO initiation route (a few per second) or the passkey challenge route (approximately 100 per second) to continuously evict the pending-state tables. For the duration of the flood, concurrent legitimate SSO and passkey sign-ins fail. Mail delivery and already-authenticated sessions are not directly affected, but federated and passwordless authentication become unusable.

See the GitLab hMailServer Work Item #63 for the upstream technical discussion.

Detection Methods for CVE-2026-107585

Indicators of Compromise

  • Elevated request rates to the REST API routes that start SSO flows or issue passkey challenges, especially from a small set of source IPs.
  • A spike in failed SSO and WebAuthn callbacks where the server reports an unknown or missing pending-state key.
  • User reports of OpenID Connect, SAML, or passkey sign-in failures while password-based sign-in continues to work.

Detection Strategies

  • Instrument the SSO start and passkey challenge endpoints with per-IP and per-session request counters, alerting when rates exceed baseline.
  • Correlate pending-state eviction events with the source IP of the inserting request to identify callers that disproportionately displace other users.
  • Compare the ratio of started sign-in flows to successfully completed sign-in flows; a sudden drop in completion rate indicates eviction-driven failure.

Monitoring Recommendations

  • Forward hMailServer REST API access logs and authentication outcome logs to a centralized analytics platform for correlation.
  • Track the hMailServer process version in asset inventory and flag any host still running 6.3.4 or 6.3.5.
  • Monitor upstream identity provider logs for callback requests that reference state values no longer known to hMailServer.

How to Mitigate CVE-2026-107585

Immediate Actions Required

  • Upgrade to hMailServer 6.3.6 or later, which addresses the uncontrolled eviction behavior.
  • Place the REST API behind a reverse proxy or WAF that enforces per-source rate limits on the SSO start and passkey challenge routes.
  • Restrict REST API exposure to trusted networks where feasible until the patch is applied.

Patch Information

The fix is delivered in hMailServer 6.3.6. Release details are published on the project's GitLab page: GitLab hMailServer Release 6.3.6. Administrators should review the release notes, back up configuration and mail stores, and apply the upgrade according to vendor guidance.

Workarounds

  • Enforce aggressive rate limiting at a reverse proxy on the SSO initiation and passkey challenge endpoints, scoped per client IP.
  • Temporarily disable federated SSO or passkey sign-in if upstream rate limiting is not available, falling back to password or other local authentication.
  • Deploy network ACLs that restrict REST API access to management or corporate IP ranges while the patch is scheduled.
bash
# Example nginx rate limit for the SSO and passkey start routes
limit_req_zone $binary_remote_addr zone=hmail_sso:10m rate=2r/s;
limit_req_zone $binary_remote_addr zone=hmail_passkey:10m rate=5r/s;

server {
    location /api/sso/start {
        limit_req zone=hmail_sso burst=5 nodelay;
        proxy_pass http://hmailserver_backend;
    }

    location /api/passkey/challenge {
        limit_req zone=hmail_passkey burst=10 nodelay;
        proxy_pass http://hmailserver_backend;
    }
}

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.