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.
samanhappy MCPHub Template Import Endpoint templateService.ts importTemplate privileges management
Problem type
Affected products
samanhappy
1.0.0 - AFFECTED
1.0.1 - AFFECTED
1.0.2 - AFFECTED
1.0.3 - AFFECTED
1.0.4 - AFFECTED
1.0.5 - AFFECTED
1.0.6 - AFFECTED
1.0.7 - AFFECTED
1.0.8 - AFFECTED
1.0.9 - AFFECTED
1.0.10 - AFFECTED
1.0.11 - AFFECTED
1.0.12 - AFFECTED
1.0.13 - AFFECTED
1.0.14 - AFFECTED
1.0.15 - AFFECTED
1.0.16 - AFFECTED
1.0.17 - AFFECTED
1.0.18 - AFFECTED
1.0.19 - AFFECTED
1.0.20 - AFFECTED
1.0.21 - AFFECTED
1.0.22 - AFFECTED
1.0.23 - AFFECTED
1.0.24 - AFFECTED
1.0.25 - AFFECTED
1.0.26 - AFFECTED
1.0.27 - AFFECTED
1.0.28 - AFFECTED
1.0.29 - AFFECTED
1.0.30 - AFFECTED
1.0.31 - AFFECTED
1.0.32 - AFFECTED
1.0.33 - UNAFFECTED
References
https://vuldb.com/vuln/407976
https://vuldb.com/vuln/407976/cti
https://vuldb.com/cve/CVE-2026-94047
https://vuldb.com/submit/949562
https://github.com/samanhappy/mcphub/issues/1094
https://github.com/samanhappy/mcphub/pull/1096
https://github.com/samanhappy/mcphub/commit/18a4467bc4ec6390b1f841d8a468a37e9922f837
https://github.com/samanhappy/mcphub/releases/tag/v1.0.33
https://github.com/samanhappy/mcphub/
GitHub Security Advisories
GHSA-2xcr-p42x-hfx6
A security vulnerability has been detected in samanhappy MCPHub up to 1.0.32. The impacted...
https://github.com/advisories/GHSA-2xcr-p42x-hfx6A 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.
https://nvd.nist.gov/vuln/detail/CVE-2026-94047
https://github.com/samanhappy/mcphub/issues/1094
https://github.com/samanhappy/mcphub/pull/1096
https://github.com/samanhappy/mcphub/commit/18a4467bc4ec6390b1f841d8a468a37e9922f837
https://github.com/samanhappy/mcphub
https://github.com/samanhappy/mcphub/releases/tag/v1.0.33
https://vuldb.com/cve/CVE-2026-94047
https://vuldb.com/submit/949562
https://vuldb.com/vuln/407976
https://vuldb.com/vuln/407976/cti
https://github.com/advisories/GHSA-2xcr-p42x-hfx6
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-94047Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-94047",
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"dateUpdated": "2026-09-20T19:00:13.466Z",
"dateReserved": "2026-09-19T21:46:06.583Z",
"datePublished": "2026-09-20T19:00:13.466Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB",
"dateUpdated": "2026-09-20T19:00:13.466Z"
},
"title": "samanhappy MCPHub Template Import Endpoint templateService.ts importTemplate privileges management",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "samanhappy",
"product": "MCPHub",
"cpes": [
"cpe:2.3:a:samanhappy:mcphub:*:*:*:*:*:*:*:*"
],
"modules": [
"Template Import Endpoint"
],
"versions": [
{
"version": "1.0.0",
"status": "affected"
},
{
"version": "1.0.1",
"status": "affected"
},
{
"version": "1.0.2",
"status": "affected"
},
{
"version": "1.0.3",
"status": "affected"
},
{
"version": "1.0.4",
"status": "affected"
},
{
"version": "1.0.5",
"status": "affected"
},
{
"version": "1.0.6",
"status": "affected"
},
{
"version": "1.0.7",
"status": "affected"
},
{
"version": "1.0.8",
"status": "affected"
},
{
"version": "1.0.9",
"status": "affected"
},
{
"version": "1.0.10",
"status": "affected"
},
{
"version": "1.0.11",
"status": "affected"
},
{
"version": "1.0.12",
"status": "affected"
},
{
"version": "1.0.13",
"status": "affected"
},
{
"version": "1.0.14",
"status": "affected"
},
{
"version": "1.0.15",
"status": "affected"
},
{
"version": "1.0.16",
"status": "affected"
},
{
"version": "1.0.17",
"status": "affected"
},
{
"version": "1.0.18",
"status": "affected"
},
{
"version": "1.0.19",
"status": "affected"
},
{
"version": "1.0.20",
"status": "affected"
},
{
"version": "1.0.21",
"status": "affected"
},
{
"version": "1.0.22",
"status": "affected"
},
{
"version": "1.0.23",
"status": "affected"
},
{
"version": "1.0.24",
"status": "affected"
},
{
"version": "1.0.25",
"status": "affected"
},
{
"version": "1.0.26",
"status": "affected"
},
{
"version": "1.0.27",
"status": "affected"
},
{
"version": "1.0.28",
"status": "affected"
},
{
"version": "1.0.29",
"status": "affected"
},
{
"version": "1.0.30",
"status": "affected"
},
{
"version": "1.0.31",
"status": "affected"
},
{
"version": "1.0.32",
"status": "affected"
},
{
"version": "1.0.33",
"status": "unaffected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Improper Privilege Management",
"cweId": "CWE-269",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"lang": "en",
"description": "Incorrect Privilege Assignment",
"cweId": "CWE-266",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://vuldb.com/vuln/407976",
"name": "VDB-407976 | samanhappy MCPHub Template Import Endpoint templateService.ts importTemplate privileges management",
"tags": [
"vdb-entry",
"technical-description"
]
},
{
"url": "https://vuldb.com/vuln/407976/cti",
"name": "VDB-407976 | CTI Indicators (IOB, IOC, TTP, IOA)",
"tags": [
"signature",
"permissions-required"
]
},
{
"url": "https://vuldb.com/cve/CVE-2026-94047",
"name": "CVE-2026-94047 | CVE Analysis and Report",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://vuldb.com/submit/949562",
"name": "Submit #949562 | samanhappy mcphub 1.0.32 RCE",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://github.com/samanhappy/mcphub/issues/1094",
"tags": [
"exploit",
"issue-tracking"
]
},
{
"url": "https://github.com/samanhappy/mcphub/pull/1096",
"tags": [
"issue-tracking",
"patch"
]
},
{
"url": "https://github.com/samanhappy/mcphub/commit/18a4467bc4ec6390b1f841d8a468a37e9922f837",
"tags": [
"patch"
]
},
{
"url": "https://github.com/samanhappy/mcphub/releases/tag/v1.0.33",
"tags": [
"patch"
]
},
{
"url": "https://github.com/samanhappy/mcphub/",
"tags": [
"product"
]
}
],
"metrics": [
{},
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "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",
"baseScore": 6.3,
"baseSeverity": "MEDIUM"
}
},
{
"cvssV3_0": {
"version": "3.0",
"vectorString": "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",
"baseScore": 6.3,
"baseSeverity": "MEDIUM"
}
},
{
"cvssV2_0": {
"version": "2.0",
"vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C",
"baseScore": 6.5
}
}
],
"timeline": [
{
"time": "2026-09-19T00:00:00.000Z",
"lang": "en",
"value": "Advisory disclosed"
},
{
"time": "2026-09-19T02:00:00.000Z",
"lang": "en",
"value": "VulDB entry created"
},
{
"time": "2026-09-19T23:51:11.000Z",
"lang": "en",
"value": "VulDB entry last update"
}
],
"credits": [
{
"lang": "en",
"value": "CAPT (VulDB User)",
"type": "reporter"
}
],
"tags": [
"x_open-source"
]
}
}
}