Skip to content
Heist/ feed
Back to feed
High

Reliance on Untrusted Inputs in a Security Decision in hMailServer

Type: advisorySources: OSV

The Linux live-update apply helper (hmailserver-update) of Progressive Robot hMailServer 6.3.4 and 6.3.5 runs as root on a request file written by the unprivileged hmailserver service account, and took from that request the program used to verify an AppImage update's signature and the systemd unit to stop before reading the service account's files. An attacker who already runs code as the hmailserver service account, for example through another flaw in the mail server, can therefore have arbitrary code executed as root, on any Linux installation where the live update's path unit is active - the default for the project's .deb and .rpm packages - and on AppImage installations run under that unit.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-104658
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:14 UTC · Revision 1

Source evidence

Reliance on Untrusted Inputs in a Security Decision in hMailServer

core-osv · Original source

Published 8 Oct 2026, 10:52 UTC

The Linux live-update apply helper (hmailserver-update) of Progressive Robot hMailServer 6.3.4 and 6.3.5 runs as root on a request file written by the unprivileged hmailserver service account, and took from that request the program used to verify an AppImage update's signature and the systemd unit to stop before reading the service account's files. An attacker who already runs code as the hmailserver service account, for example through another flaw in the mail server, can therefore have arbitrary code executed as root, on any Linux installation where the live update's path unit is active - the default for the project's .deb and .rpm packages - and on AppImage installations run under that unit.

osv:CVE-2026-104658
Complete source record
{
  "id": "5a140040fdeeb65e8183611ecdfe37ae241484391d3ab53167244a2ba6a7e5bc",
  "url": "https://osv.dev/vulnerability/CVE-2026-104658",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Reliance on Untrusted Inputs in a Security Decision in hMailServer",
    "summary": "The Linux live-update apply helper (hmailserver-update) of Progressive Robot hMailServer 6.3.4 and 6.3.5 runs as root on a request file written by the unprivileged hmailserver service account, and took from that request the program used to verify an AppImage update's signature and the systemd unit to stop before reading the service account's files. An attacker who already runs code as the hmailserver service account, for example through another flaw in the mail server, can therefore have arbitrary code executed as root, on any Linux installation where the live update's path unit is active - the default for the project's .deb and .rpm packages - and on AppImage installations run under that unit.",
    "evidence": "osv:CVE-2026-104658",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-104658",
      "aliases": [
        "CVE-2026-104658"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/hmailserver/hmailserver",
              "type": "GIT",
              "events": [
                {
                  "introduced": "51e2dbda08d6aa7fcda5a48f1af05221809f78be"
                },
                {
                  "fixed": "e3c448aa66fc310b74d076884d54fae951296915"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "6.3.4"
                      },
                      {
                        "fixed": "6.3.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.3.5",
            "v6.3.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104658.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.678274075Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6",
        "https://gitlab.com/hmailserver/hmailserver/-/work_items/58",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104658.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-104658",
        "https://gitlab.com/hmailserver/hmailserver"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-807"
        ],
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104658.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-104658",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505216,
  "published_at": "2026-10-08T10:52:45.63+00:00"
}