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

CVE-2026-114476: hMailServer REST API Auth Bypass Vulnerability

CVE-2026-114476 is an authorization bypass flaw in Progressive Robot hMailServer REST API that lets authenticated users with manage_roles permission escalate to server administrator authority. This post covers technical details, affected versions, impact, and mitigation.

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

CVE-2026-114476 is an incorrect authorization flaw [CWE-863] in the REST administration API of Progressive Robot hMailServer versions 6.3.4 through 6.3.6. The vulnerability allows a remote authenticated user with the manage_roles permission in named domains to escalate to the server administrator role. An attacker exploits the DELETE /api/v1/role-assignments/{address} route to strip a narrowing role from an account whose underlying admin level is server administrator, restoring full server authority. The attacker can then authenticate as the server administrator using a password set while the account held the narrower role.

Critical Impact

An authenticated low-privilege user in a managed domain can obtain full server administrator authority over the hMailServer instance, compromising mail accounts across all domains.

Affected Products

  • Progressive Robot hMailServer 6.3.4
  • Progressive Robot hMailServer 6.3.5
  • Progressive Robot hMailServer 6.3.6

Discovery Timeline

  • 2026-10-21 - CVE-2026-114476 published to NVD
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-114476

Vulnerability Analysis

hMailServer models account authority through two layers. An account carries an admin level that defines its baseline authority. A role assigned to that account replaces the baseline authority with a narrower scope. Administrators use this pattern to constrain accounts whose underlying admin level is server administrator, limiting them to specific domains or operations.

The REST administration API exposes DELETE /api/v1/role-assignments/{address} to remove a role from an account. The authorization check on this route evaluates only the caller's permissions against the account's current effective authority, which reflects the narrowing role. The check does not evaluate the authority the account will hold after the role is removed.

An attacker holding manage_roles in a domain, either through a full-scope API key issued for that domain or through the serveradmin role scoped to a domain list, can therefore remove a narrowing role from any targeted account in that domain. If the targeted account's baseline admin level is server administrator, the account reverts to full server authority. If the attacker previously changed that account's password while it was narrowed, the attacker now controls server administrator credentials.

Root Cause

The root cause is a time-of-check authorization gap in the role-assignment deletion handler. The handler validates the caller against the account's current narrowed state rather than against the broader state the account will assume once the role is removed. This violates the principle that an authorization decision must consider the post-operation privilege outcome.

Attack Vector

Exploitation requires network access to the REST administration API and a valid credential with manage_roles in a domain shared with a target server-administrator account. The attacker first sets the target account's password through legitimate role-scoped API calls. The attacker then issues a DELETE request to /api/v1/role-assignments/{address} to remove the narrowing role. Finally, the attacker authenticates as the restored server administrator and gains full control of the mail server.

No verified public exploit code is available. See the GitLab hMailServer Work Item 88 for upstream details.

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 Attacks

Detection Methods for CVE-2026-114476

Indicators of Compromise

  • Unexpected DELETE /api/v1/role-assignments/{address} requests targeting accounts whose baseline admin level is server administrator.
  • Password change operations on narrowed server-administrator accounts followed shortly by role-assignment deletions.
  • Successful administrative API logins from accounts that previously operated only within a single domain scope.

Detection Strategies

  • Audit hMailServer REST API access logs for the sequence: role-scoped password update, then role-assignment deletion, then administrator-level API activity from the same account.
  • Compare the account's effective authority before and after each DELETE /api/v1/role-assignments/{address} call and alert when the post-deletion authority is broader than the caller's own scope.
  • Baseline normal manage_roles usage per API key and flag deviations toward privileged accounts.

Monitoring Recommendations

  • Forward hMailServer administrative API logs to a centralized logging platform for correlation with authentication events.
  • Monitor configuration changes to role assignments and account admin levels in near real time.
  • Alert on any administrative sign-in from accounts that were recently the target of role modifications.

How to Mitigate CVE-2026-114476

Immediate Actions Required

  • Upgrade hMailServer to version 6.3.7 or later, which addresses the authorization check in the role-assignment deletion route.
  • Review all accounts whose baseline admin level is server administrator and verify that recent role or password changes were legitimate.
  • Rotate credentials and API keys for any account that could have been targeted through the vulnerable route.

Patch Information

Progressive Robot released the fix in hMailServer 6.3.7. The upstream tracking issue is documented in GitLab hMailServer Work Item 88. Administrators should apply the update to all instances running versions 6.3.4 through 6.3.6.

Workarounds

  • Restrict network access to the REST administration API to trusted management hosts only.
  • Avoid narrowing server-administrator accounts with roles; instead, create dedicated accounts with the appropriate baseline admin level.
  • Revoke manage_roles permission and serveradmin role assignments from any account that does not require them.
bash
# Configuration example: restrict REST admin API exposure at the network layer
# Example iptables rule to limit access to the hMailServer admin API port
iptables -A INPUT -p tcp --dport 8080 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

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.