Skip to main content

hMailServer EUVDEUVD-2026-123338

| CVE-2026-126626 MEDIUM
Overly Restrictive Account Lockout Mechanism (CWE-645)
2026-11-11 GitLab GHSA-874v-49pf-3wjr
5.3
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach TLS-terminating proxy fronting web services listener
  2. Delivery
    Send repeated failed CardDAV/CalDAV/Autodiscover Basic-auth sign-ins
  3. Exploit
    Failures counted against proxy's own address
  4. Execution
    Reach MaxInvalidLogonAttempts, auto-ban writes IP range
  5. Impact
    Proxy address refused at SMTP/POP3/IMAP/ManageSieve, mail clients locked out

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Overly restrictive account lockout
Exploitation Conditions

Exploitation requires a specific non-default deployment: the web services listener must be explicitly enabled (WebServicesHttpPort/WebServicesHttpsPort set non-zero; both are 0/off by default) and serving at least CardDAV (6.3.3+) or CalDAV/Outlook Autodiscover (6.3.4+) over HTTP Basic auth, AND the listener must sit behind a TLS-terminating reverse proxy that the server trusts - either running on the same machine or explicitly listed in WebServicesTrustedProxies - whose X-Forwarded-Proto the listener honors. The abuse works because the listener does NOT trust X-Forwarded-For and attributes every client's failed sign-in to the proxy's address. The auto-ban must be enabled (on by default) and the proxy's address must not be in AutoBanNeverBan (empty by default). Limiting factors: if the web services are disabled (default), or no trusted proxy fronts them, the condition cannot be met; the impact is a temporary lockout (AutoBanMinutes, 60 by default) rather than persistent, though it is re-triggerable; notably, listing the proxy in WebServicesTrustedProxies does NOT exempt it from the ban.

Impact

This is a genuine but low-severity availability flaw, not a priority emergency, and the signals are internally consistent on that point. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, base 5.3) correctly reflects a remote, unauthenticated, low-complexity attack with no confidentiality or integrity impact and only limited availability impact - matching CWE-645 (overly restrictive/abusable lockout). The vuln.today decision label is 'this_month' (not act_now or emergency), reinforcing moderate urgency. No EPSS score, no CISA KEV listing, and no PoC or exploit reference are present in the input, so exploitation is 'no public exploit identified at time of analysis.' Crucially, the real-world risk is further bounded by configuration: the web services listener is OFF by default (WebServicesHttpPort/WebServicesHttpsPort = 0) and the attack only works when that listener is enabled AND fronted by a TLS-terminating proxy the server trusts (same machine, or named in WebServicesTrustedProxies). The impact is a self-inflicted denial of service - the trusted proxy's address (often loopback, or an address shared with real mail clients) gets auto-banned from the SMTP/POP3/IMAP/ManageSieve listeners for AutoBanMinutes (60 by default) and can be re-banned repeatedly. No data is conflicting; the main uncertainty is deployment-side (how many installs run the optional web services behind a shared/loopback proxy), which the input does not quantify.

Exploit ScenarioDerived

An hMailServer 6.3.4+ operator enables the CardDAV/CalDAV/Autodiscover web services behind an nginx/HAProxy TLS-terminating proxy running on the same host, which the server trusts and whose X-Forwarded-Proto it honors. A remote unauthenticated attacker who can reach that proxy sends three failed Basic-auth sign-ins (any username) within 30 minutes; because the listener attributes every failure to the proxy's address rather than the real client, the auto-ban writes an IP range blocking the proxy - here, loopback - causing the local webmail, local mail-submission scripts, and every other client behind that address to be refused at the mail listeners for 60 minutes. No public exploit code is identified, but the attack is trivially scriptable.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 11, 2026

Failed-sign-in accounting in the optional hMailServer web services listener (6.3.3 through 6.3.7) can be abused to lock the mail server's own clients out of SMTP, POP3, IMAP and ManageSieve. When the listener is enabled and placed behind a TLS-terminating proxy that hMailServer trusts - either on the same host or named in WebServicesTrustedProxies - the listener honours X-Forwarded-Proto but not X-Forwarded-For, so every failed CardDAV/CalDAV/Autodiscover HTTP Basic sign-in is charged to the proxy's address; three failures within 30 minutes (MaxInvalidLogonAttempts default) trigger an auto-ban that denies that address on the mail listeners for 60 minutes (AutoBanMinutes default) and can be re-triggered indefinitely. The web services listener is off by default (WebServicesHttpPort and WebServicesHttpsPort both 0), so only non-default deployments are exposed; no public exploit identified at time of analysis, and the impact is a repeatable but temporary availability loss rather than data compromise (CVSS 5.3, AV:N/AC:L/PR:N/UI:N/C:N/I:N/A:L).

RemediationAI

Vendor-released patch: hMailServer v6.3.8 (https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.8); upgrading is the complete fix and the vendor's release is the authoritative source, with the underlying issue tracked at https://gitlab.com/hmailserver/hmailserver/-/work_items/106. Where upgrading cannot be done immediately, the most direct control is to keep or set WebServicesHttpPort and WebServicesHttpsPort to 0, which removes the web services listener entirely and closes the counting path - at the cost of losing CardDAV, CalDAV and Autodiscover clients, and it is the default state so it costs nothing on installations not using those features. Alternatively, remove the deployment's dependence on a trusted TLS-terminating proxy for this listener (terminate TLS on hMailServer itself, or front it with a proxy that is neither co-located nor listed in WebServicesTrustedProxies), which restores per-client address attribution; the trade-off is that the proxy must then no longer be used to present HTTPS to the listener. Adding the trusted proxy's address to AutoBanNeverBan prevents the proxy from being banned and thereby protects the mail listeners, but it permanently exempts that address from auto-ban, so failed mail authentications originating from it no longer trigger lockouts - acceptable only where that address is tightly controlled. Raising MaxInvalidLogonAttempts or setting AutoBanMinutes to 0 reduces or eliminates the lockout window but weakens brute-force protection for every client on the mail listeners. Note that listing the proxy in WebServicesTrustedProxies does not itself mitigate the issue.

Affected VersionsENISA

hMailServer 6.3.3 ≤6.3.7

Affected Packages

euvd hmailserver no fix

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

hMailServer's web services listener (disabled by default via WebServicesHttpPort/WebServicesHttpsPort = 0) provides HTTP Basic authentication over HTTPS for CardDAV (from 6.3.3) and for CalDAV and Outlook Autodiscover (from 6.3.4). The server supports deployment behind a TLS-terminating reverse proxy: when the proxy runs on the same machine or is explicitly named in WebServicesTrustedProxies, the listener accepts the proxy's X-Forwarded-Proto header as the client's effective scheme. It deliberately does not trust X-Forwarded-For, so the client address observed for every request is the proxy's own address, and failed authentication counters maintained for the auto-ban mechanism are incremented against that shared address rather than the individual client. This maps to CWE-645 (Overly Restrictive Account Lockout Mechanism): the lockout mechanism keys on an identifier that multiple principals share, so unauthenticated failures from any source are aggregated onto a single network address. The resulting ban is written to the server's IP-range ban list, which is enforced not by the web listener but by the SMTP, POP3, IMAP and ManageSieve listeners, and it expires after AutoBanMinutes (60 by default). MaxInvalidLogonAttempts (3 within 30 minutes) and the auto-ban are on by default; AutoBanNeverBan, which exempts addresses, is empty by default, and - notably - adding the proxy to WebServicesTrustedProxies grants it trust for scheme headers without exempting it from the ban. Consequences differ by topology: a same-host proxy resolves to the loopback address, so local webmail, local mail-submission scripts and other local mail clients are shut out; a remote proxy that also fronts mail traffic blocks every mail client behind it. A proxy that re-encrypts and forwards to the listener's HTTPS port is counted identically. The web listener itself continues to serve the proxy throughout.

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

Vendor (GitLab) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Remote unauthenticated attacker reaching the proxy can trivially force failed logins (AV:N/AC:L/PR:N/UI:N); only a temporary, re-triggerable mail-service lockout results (A:L, C:N/I:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitLab).

CVSS VectorVendor: GitLab

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

The web services listener of Progressive Robot hMailServer 6.3.3 through 6.3.7 counts every failed CardDAV, CalDAV or Autodiscover sign-in from a proxy it trusts - one on the same machine, or one named in WebServicesTrustedProxies, whose X-Forwarded-Proto it believes - against the proxy's own address, which allows a remote unauthenticated attacker who can reach the proxy to have that address banned from the server's mail listeners. The listener, off by default (WebServicesHttpPort and WebServicesHttpsPort 0), signs an account in with HTTP Basic over HTTPS for CardDAV from 6.3.3 and for CalDAV and Outlook Autodiscover from 6.3.4. Behind a TLS-terminating proxy, which the server trusts when it is on the same machine or named in WebServicesTrustedProxies, the listener takes the client's HTTPS from the proxy's X-Forwarded-Proto header, but it does not believe X-Forwarded-For and sees the proxy's address for every client. Each failed sign-in counted towards the auto-ban against that address, so that failed sign-ins through the proxy from anybody, under any user name, reaching MaxInvalidLogonAttempts (3 within 30 minutes by default) wrote an IP range that refused the proxy's address at the SMTP, POP3, IMAP and ManageSieve listeners for AutoBanMinutes (60 by default), and could write it again each time it lapsed. For a proxy on the same machine that address is the loopback address, so that a webmail on that machine, local scripts that submit mail and the other local clients of the mail listeners were shut out; for a proxy at another address that also carries mail, every mail client behind it was. Such a proxy forwarding to the listener's HTTPS port, re-encrypting, was counted against in the same way, and listing it in WebServicesTrustedProxies did not spare it. The auto-ban is on by default and AutoBanNeverBan, which spares an address, is empty by default; the listener itself went on serving the proxy.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Low
niche free Windows mail server, mainly small-business/hobby, newer 6.3.x branch
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-100741 CRITICAL POC
9.8 Sep 27

Arbitrary JScript execution in Progressive Robot Ltd's hMailServer 6.0.0 through 6.3.3 on Windows lets an unauthenticate

CVE-2026-126617 HIGH
8.8 Nov 11

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

CVE-2026-114489 HIGH
8.1 Oct 21

Cross-tenant configuration takeover in hMailServer 6.0.0 through 6.3.6 lets an authenticated user holding only a domain-

CVE-2026-103647 HIGH
8.0 Oct 08

Cross-site scripting in Progressive Robot hMailServer 6.3.2 through 6.3.5 can let a remote, unauthenticated attacker exe

CVE-2026-126607 HIGH
7.8 Nov 11

Local privilege escalation in Progressive Robot hMailServer 6.2.3 through 6.3.7 on Windows allows an authenticated local

CVE-2026-126612 HIGH
7.8 Nov 11

Local privilege escalation in the Windows installer of Progressive Robot hMailServer 6.0.0 through 6.3.7 lets a local au

CVE-2026-114490 HIGH
7.8 Oct 21

Incorrect authorization in the COM administration API of hMailServer 6.3.4 through 6.3.6 lets a credential holding the s

CVE-2026-107571 HIGH
7.8 Oct 19

Local privilege escalation in Progressive Robot hMailServer 6.0.0 through 6.3.6 allows any authenticated, non-administra

CVE-2026-107573 HIGH
7.8 Oct 08

Incorrect default permissions in the Windows installer for Progressive Robot hMailServer 6.0.0 through 6.3.5 let any loc

CVE-2026-103010 HIGH
7.8 Oct 08

Heap-based buffer overflow in hMailServer 6.0.0 through 6.3.3 on Windows lets a local interactive user - with no hMailSe

CVE-2026-104660 HIGH
7.8 Oct 08

Local privilege escalation in hMailServer 6.0.0 through 6.3.5 on Windows allows an authenticated local user-one with an

CVE-2026-104658 HIGH
7.8 Oct 08

Local privilege escalation in Progressive Robot hMailServer 6.3.4 and 6.3.5 on Linux allows an attacker who already has

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy