Skip to main content

hMailServer EUVDEUVD-2026-123334

| CVE-2026-126618 MEDIUM
Improper Restriction of Excessive Authentication Attempts (CWE-307)
2026-11-11 GitLab GHSA-2wjf-5hp3-227w
5.3
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Connect from two or more source addresses
  2. Delivery
    Submit failed logons ending in a 90+ char or NUL username
  3. Exploit
    Auto-ban range save fails at the database
  4. Execution
    Attempt counter cleared, no ban applied
  5. Impact
    Resume unlimited password guessing

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
Exploitation Conditions

Exploitation requires the attacker to control the username string sent during logon and, on the default path, to connect from two or more source addresses: the attacker first gets one address banned under a username whose first 90 characters are fixed, after which every later ban named after a username sharing those first 90 characters fails to save, so no ban is applied and the attempt count resets. Variants lower the bar further: usernames of 78-89 characters cause the same failure after the 2nd/3rd/12th ban (database-dependent); on SQL Server, out-of-codepage characters cause it at any length; and a NUL-containing username causes bans to fail from the very first attempt and from a single address on MySQL/MariaDB/PostgreSQL. Key limiting factors: the NUL path depends on non-default or platform-specific features - web-services HTTP Basic sign-in is off by default (6.3.3+) and the NUL-bearing IMAP LOGIN path applies to Linux builds (6.3.0+); ManageSieve/CalDAV/CardDAV/REST are off by default; and overall impact is bounded by password strength since the flaw only defeats rate-limiting rather than granting access.

Impact

This is a medium-severity brute-force-protection bypass (CWE-307), not a critical issue, and the signals are internally consistent rather than conflicting. The supplied CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N = 5.3) correctly reflects a remote, unauthenticated, low-complexity defeat of the auto-ban control whose only direct impact is Confidentiality-Low (it facilitates sustained password guessing rather than directly disclosing data; integrity and availability are untouched). The vuln.today decision label is 'this_month', i.e. prioritize for patching within a normal cycle, not an emergency. No EPSS score was provided, so exploitation probability cannot be quantified from this data. The CVE is not listed in CISA KEV, and the two references are the vendor's GitLab work item (#102) and the v6.3.8 release - a bug tracker and a fix, not exploit code - so: no public exploit identified at time of analysis, and there is no indication of active exploitation. The practical risk is that this lowers the cost of online credential-guessing against hMailServer accounts: an attacker who can source connections from two or more addresses (or, on the NUL-character paths, even a single address) can keep the auto-ban from ever applying. Real priority is moderate - it amplifies brute-force attacks but is itself only a control bypass, so impact depends on password strength and which services are exposed.

Exploit ScenarioDerived

A remote unauthenticated attacker repeatedly tries to guess an account's password over SMTP AUTH, IMAP or POP3 (or ManageSieve/CalDAV/CardDAV/REST where enabled). By ending each batch of failed logons with a username 90+ characters long (or a NUL-containing username where HTTP Basic or Linux IMAP LOGIN is active), the auto-ban's database save fails, so no IP range is ever stored, the address is never banned, and its attempt counter is cleared - letting guessing continue indefinitely. No public exploit code was identified; the mechanism is documented in the vendor's own work item.

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

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

Alert me

AnalysisAIv1 – Nov 11, 2026

Brute-force protection bypass in hMailServer 6.0.0-B1 through 6.3.7 lets a remote unauthenticated attacker continue guessing account passwords over SMTP AUTH, IMAP and POP3 - and over ManageSieve, CalDAV/CardDAV and the REST API where those optional services are enabled - because the per-address auto-ban range is never saved to the database. When a failed logon reaches MaxInvalidLogonAttempts (3 by default), the server clears the counter first and then attempts to insert an IP range named 'Auto-ban: ' plus the submitted user name; a user name long enough that every candidate name is identical once truncated to the 100-character database column (90+ characters outright, 78-89 characters depending on length and database, out-of-codepage names on SQL Server, or NUL-bearing names on MySQL/MariaDB/PostgreSQL) makes the insert violate the unique-name constraint, so no range is stored, the address is never refused, and it receives a fresh full set of attempts. A medium-severity issue (CVSS 5.3, CWE-307) rather than a direct authentication bypass: the flaw only defeats rate limiting, so practical risk is bounded by password strength, and no public exploit code was identified at time of analysis - a public proof-of-concept reference exists in the vendor issue tracker, but it is not verified as working exploit code. Vendor fix is released in 6.3.8, and prioritization is 'this month' rather than emergency.

RemediationAI

Vendor-released patch: hMailServer 6.3.8, available from https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.8, which addresses the auto-ban naming and truncation logic documented in https://gitlab.com/hmailserver/hmailserver/-/work_items/102; upgrading all installations in the 6.0.0-B1 through 6.3.7 range is the complete fix, and the vendor's release is the authoritative source for upgrade steps and any notes on existing stale 'Auto-ban:' ranges. No separate workaround is described in the available sources, and tuning MaxInvalidLogonAttempts is not a reliable stopgap because on SQL Server - and on MySQL/MariaDB for accounts with a local part of nine or more characters - a crafted guess can carry the triggering name so that even a threshold of 1 does not prevent the bypass. Defenders should therefore treat password strength and monitoring as compensating measures only: the flaw defeats rate limiting rather than authentication, so enforcing strong, unique passwords on mail accounts limits what continued guessing can achieve. Reducing the available trigger paths helps at the margin - keeping ManageSieve, CalDAV/CardDAV, the REST API and the web services HTTP Basic sign-in disabled, as they are by default, removes those injection points but not the core SMTP AUTH, IMAP and POP3 exposure on Linux builds. Finally, alert on HM5032 and HM6099 entries in the hMailServer error log (HM6099 only from 6.2.19), which indicate that an auto-ban range failed to save, and investigate the associated source addresses as likely password-guessing activity.

Affected VersionsENISA

hMailServer 6.0.0-B1 ≤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

The root cause is CWE-307, Improper Restriction of Excessive Authentication Attempts, implemented in hMailServer's auto-ban subsystem rather than in the authentication check itself. On each failed logon the server increments a per-address counter; on reaching MaxInvalidLogonAttempts (3 by default) it clears that address's count, saves an IP range that denies the address for AutoBanMinutes (60 by default), and drops the connection. The range is named 'Auto-ban: ' followed by the user name of the logon that hit the limit, and the schema permits no two ranges with the same name. The server resolves collisions by trying the name as written, then variants with a number, a random suffix or a GUID appended, and only then truncates to the 100 characters the database column holds - so any user name of 90 characters or more makes every candidate identical after truncation and the unique constraint cannot be satisfied. Shorter names (78-89 characters) collide probabilistically or from the second, third or twelfth ban depending on length and backend database. Additional database-specific behaviours widen the trigger: on SQL Server, names containing characters outside the database code page are compared in that code page at any length and are rejected by the server's own name check with no database error; NUL-bearing user names terminate the statements that check the name and save the range on MySQL, MariaDB and PostgreSQL (so bans fail from the first attempt and from a single address) and bind only up to the NUL on SQL Server and SQL Server Compact. On SQL Server, and on MySQL/MariaDB for accounts whose local part is nine characters or more, account lookup ignores trailing spaces (and, on SQL Server, characters its comparison ignores), so a guess itself can carry a triggering name and even MaxInvalidLogonAttempts=1 does not prevent the bypass. Injection points for such names include the web services listener's HTTP Basic sign-in (available from 6.3.3, off by default) and, on Linux builds, IMAP LOGIN (offered as installed from 6.3.0); the affected listeners span SMTP AUTH, IMAP, POP3 and the optional ManageSieve, CalDAV/CardDAV and REST API services. Failed saves surface in the server error log as HM5032 (database error) and, from 6.2.19, also as HM6099; the SQL Server code-page path produces only HM6099 and only from 6.2.19. Backends in scope per the tags and description are MySQL, MariaDB, PostgreSQL, SQL Server and SQL Server Compact.

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:L/I:N/A:N
vuln.today AI 5.3 MEDIUM

Remote unauthenticated attacker fully controls the attacker-supplied username, giving AV:N/PR:N/AC:L; impact is limited to defeating brute-force protection to facilitate password guessing, so C:L with I:N and A:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/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
Low
Integrity
None
Availability
None

DescriptionCVE.org

The auto-ban of Progressive Robot hMailServer 6.0.0-B1 through 6.3.7 can be kept from banning an address after repeated failed logons, which allows a remote unauthenticated attacker who can connect from two or more addresses to go on guessing account passwords - over SMTP AUTH, IMAP and POP3, and over ManageSieve, CalDAV/CardDAV and the REST API where those are turned on (off by default) - without being banned. When the failed logons counted from one address reach MaxInvalidLogonAttempts (3 by default), the server clears that address's count, saves an IP range that refuses the address for AutoBanMinutes (60 by default) and drops the connection. The range is named "Auto-ban: " followed by the user name of the logon that reached the limit, and no two ranges may have the same name. The server chooses the name by checking candidates as written - the name, then the name with a number, a random suffix or a GUID added - and only then cuts it to the 100 characters the database column holds, so that with a user name of 90 characters or more every candidate is the same once cut. While one range named after such a user name stands, every later ban named after a user name with the same first 90 characters therefore fails at the database: no range is saved, the address is not refused, and, its count having already been cleared, it is given the next full set of attempts. A user name of 78 to 89 characters makes later bans fail in the same way: from the second, the third or the twelfth on, depending on its length and the database, or, from 78 to 85 characters, by chance. An attacker who has once had an address banned under such a name can in this way keep guessing passwords from any other address, ending each set of attempts with a logon under a name of that kind; each failed save is reported in the server's error log (as the database error HM5032, and from 6.2.19 also as HM6099). On SQL Server a user name holding characters outside the database's code page has the same effect at any length, because the check compared names in that code page; that save is refused by the server's own check of the name, with no database error, and is reported only from 6.2.19 (HM6099). A user name holding a NUL character, which the web services listener's HTTP Basic sign-in (off by default) carries from 6.3.3 and, on the Linux builds, IMAP LOGIN, offered as installed, from 6.3.0, makes bans fail at any length: on MySQL, MariaDB and PostgreSQL the statements that check the name and save the range end at the character, so that every ban named after such a name fails, from the first and from a single address, and, its count having already been cleared, the address is given the next full set of attempts; on SQL Server and SQL Server Compact the name is bound only as far as the character, so that while one range under the part before it stands, every later ban named after such a name fails. On SQL Server, and on MySQL and MariaDB for an account whose local part has nine characters or more, a guess at the account can itself carry a name of that kind, since those databases find an account under its address followed by spaces (and SQL Server also under one holding characters its comparison ignores), so that not even a MaxInvalidLogonAttempts of 1, which bans each failed logon under the name it gave, avoids it there.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Low
niche open-source self-hosted mail server, small-business and hobby footprint
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.4%
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

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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