Description
Incorrect authorization in the REST administration API of Progressive Robot hMailServer 6.3.4 through 6.3.6 allows a remote authenticated user whose credential holds the manage_roles permission in named domains - a full-scope API key issued for those domains, or an account assigned the serveradmin role with a list of domains - to obtain the server administrator's authority. An account's admin level gives it authority, and a role assigned to it replaces that authority, which is how an administrator narrows an account whose admin level is the server administrator's. The route that takes a role away (DELETE /api/v1/role-assignments/{address}) checked only that the credential takes in what the account held at the time, not what it would hold afterwards, so such a credential could take a narrowing role away from an account in its domains whose admin level is the server administrator's, returning it to the server administrator's authority, and, having set that account's password while it held the narrower role, sign in as the server administrator.
Published: 2026-10-21
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

An improper authorization check in the REST administration API of hMailServer allows a remote authenticated user who owns the manage_roles permission within named domains to remove a narrowing role from an account that has server administrator authority. By changing the role assignment, the attacker can cause the account’s admin level to revert to the server administrator level and then set that account’s password to gain full administrative control. This flaw is a CWE‑863 type misauthorization vulnerability that enables privilege escalation.

Affected Systems

Progressive Robot Ltd’s hMailServer versions 6.3.4 through 6.3.6 are affected. The vulnerability resides in the REST administration API endpoints that manage role assignments, and it can be exploited by accounts that have the manage_roles capability in specific domains. Users of these versions should verify the presence of the issue and ensure they are not using full‑scope API keys or serveradmin roles with domain‑level scoping that could be leveraged for escalation.

Risk and Exploitability

With a CVSS score of 7.5, the vulnerability is classified as high severity. The EPSS score is not available, and it is not listed in CISA’s KEV catalog, implying no known public exploitation yet. The attack requires a valid authenticated session and the manage_roles permission within the targeted domain(s). Once the attacker removes a narrowing role from an account that originally had server administrator authority, they can change that account’s password and then authenticate as the server administrator, gaining unrestricted control over the email server. Therefore, the risk is significant, especially in environments where domain‑specific API keys are widely distributed.

Generated by OpenCVE AI on October 22, 2026 at 03:51 UTC.

Remediation

Vendor Solution

Upgrade to hMailServer 6.3.7, in which a role is given or taken away, over the REST and the COM APIs, only by a credential that holds manage_roles in the account's domain and takes in both what the account holds now and what it will hold afterwards - with no role left, the authority of its admin level - so a credential confined to named domains is refused taking a role away from an account whose admin level is the server administrator's. Until then, give an account that a role narrows the admin level its role intends rather than the server administrator's, do not issue a full-scope API key, or assign serveradmin, confined to named domains to a party not trusted with the whole server, and review the role assignments and the accounts whose admin level is the server administrator's (after upgrading as well, since an upgrade does not give back a role already taken away).


OpenCVE Recommended Actions

  • Upgrade to hMailServer 6.3.7 or later, which implements proper authorization checks when removing role assignments.
  • Restrict the issuance of full‑scope API keys and limit credentials with manage_roles permission to trusted users only.
  • Review and adjust existing role assignments and serveradmin role scopes to ensure no account can elevate privileges through role removal; remove unnecessary serveradmin roles or narrow their domain scope.

Generated by OpenCVE AI on October 22, 2026 at 03:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 03:15:00 +0000

Type Values Removed Values Added
First Time appeared Progressive Robot
Progressive Robot hmailserver
Vendors & Products Progressive Robot
Progressive Robot hmailserver

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Description Incorrect authorization in the REST administration API of Progressive Robot hMailServer 6.3.4 through 6.3.6 allows a remote authenticated user whose credential holds the manage_roles permission in named domains - a full-scope API key issued for those domains, or an account assigned the serveradmin role with a list of domains - to obtain the server administrator's authority. An account's admin level gives it authority, and a role assigned to it replaces that authority, which is how an administrator narrows an account whose admin level is the server administrator's. The route that takes a role away (DELETE /api/v1/role-assignments/{address}) checked only that the credential takes in what the account held at the time, not what it would hold afterwards, so such a credential could take a narrowing role away from an account in its domains whose admin level is the server administrator's, returning it to the server administrator's authority, and, having set that account's password while it held the narrower role, sign in as the server administrator.
Title Incorrect Authorization in hMailServer
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Progressive Robot Hmailserver
cve-icon MITRE

Status: PUBLISHED

Assigner: GitLab

Published:

Updated: 2026-10-29T20:56:06.397Z

Reserved: 2026-10-21T15:11:35.852Z

Link: CVE-2026-114476

cve-icon Vulnrichment

Updated: 2026-10-29T17:51:58.095Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-21T16:17:34.947

Modified: 2026-10-29T21:17:12.100

Link: CVE-2026-114476

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T04:00:10Z

Weaknesses