CVE-2026-94047

samanhappy MCPHub Template Import Endpoint templateService.ts importTemplate privileges management

Published Sep 20, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Sep 22, 2026, 3:42 PM
Reserved
Sep 19, 2026, 9:46 PM
Status
Deferred
Published
Sep 20, 2026, 8:16 PM
Modified
Sep 22, 2026, 4:18 PM