Description
A security vulnerability has been detected in samanhappy MCPHub up to 1.0.32. The impacted element is the function importTemplate of the file src/services/templateService.ts of the component Template Import Endpoint. The manipulation leads to improper privilege management. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. Upgrading to version 1.0.33 is sufficient to resolve this issue. The identifier of the patch is 18a4467bc4ec6390b1f841d8a468a37e9922f837. It is advisable to upgrade the affected component.
Published: 2026-09-20
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

A flaw in the importTemplate function within the Template Import Endpoint allows remote actors to manipulate the import process and gain elevated privileges. The vulnerability arises from improper privilege management, which enables an attacker to execute import requests with higher authority than intended, potentially leading to unauthorized configuration changes or the execution of arbitrary code within the MCPHub instance. The affected CWE identifiers include CWE-266 (Improper Privilege Management) and CWE-269 (Improper Privilege Configuration).

Affected Systems

The issue applies to samanhappy MCPHub versions up to and including 1.0.32. Any instance running these versions without the recent patch is vulnerable. The fix is available in release 1.0.33, which incorporates a code review and authorization check to correct the privilege handling in templateService.ts.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity impact. EPSS data is not available, so the current exploitation probability cannot be quantified, but the vulnerability has been publicly disclosed and remote exploitation is possible. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a remote API call to the importTemplate endpoint; an attacker with network access to the MCPHub service can craft a request that bypasses the intended role checks, leading to privilege escalation. As the flaw is not limited to local users, any exposed instance over the network can be targeted.

Generated by OpenCVE AI on September 20, 2026 at 20:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MCPHub to version 1.0.33 or later to apply the vendor‑supplied fix.
  • Configure the application’s role‑based access controls so that only users with explicit import privileges can call the Template Import Endpoint; apply ACLs or service‑level authentication mechanisms as appropriate.
  • Audit integrations and automated scripts that invoke the importTemplate API to ensure they run with the least privilege required, and adjust permissions to follow the principle of least privilege.

Generated by OpenCVE AI on September 20, 2026 at 20:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 20 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
Description A security vulnerability has been detected in samanhappy MCPHub up to 1.0.32. The impacted element is the function importTemplate of the file src/services/templateService.ts of the component Template Import Endpoint. The manipulation leads to improper privilege management. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. Upgrading to version 1.0.33 is sufficient to resolve this issue. The identifier of the patch is 18a4467bc4ec6390b1f841d8a468a37e9922f837. It is advisable to upgrade the affected component.
Title samanhappy MCPHub Template Import Endpoint templateService.ts importTemplate privileges management
First Time appeared Samanhappy
Samanhappy mcphub
Weaknesses CWE-266
CWE-269
CPEs cpe:2.3:a:samanhappy:mcphub:*:*:*:*:*:*:*:*
Vendors & Products Samanhappy
Samanhappy mcphub
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Samanhappy Mcphub
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-20T19:00:13.466Z

Reserved: 2026-09-19T21:46:06.583Z

Link: CVE-2026-94047

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-20T20:16:53.790

Modified: 2026-09-20T20:16:53.790

Link: CVE-2026-94047

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T20:30:05Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-269

    Improper Privilege Management