# CVE-2026-94047: samanhappy MCPHub privilege management in template import

Source: https://junglewise.ai/threats/cve-2026-94047-a-security-vulnerability-has-been-detected-in-samanhappy-mcphub  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-20. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-94047 · Severity: medium · CVSS 6.3 · Published 2026-09-20

MCPHub is a self-hosted gateway for connecting and controlling MCP servers. A privilege management vulnerability in the template import endpoint allowed attackers to bypass security checks and import templates with elevated privileges. This could lead to unauthorized configuration changes and system compromise.

Technologies: [Samanhappy Mcphub](https://junglewise.ai/threats/technologies/mcphub). Vendors: [Samanhappy](https://junglewise.ai/threats/vendors/samanhappy).

## Quick answers

**Is CVE-2026-94047 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-94047 being exploited in the wild.

**How severe is CVE-2026-94047?** Medium severity, with a CVSS score of 6.3, published 20 September 2026.

**Which products and versions are affected?** Samanhappy Mcphub up to 1.0.32.

**Is there a fix for CVE-2026-94047?** A patch was published on 2026-08-28: patch 18a4467bc4ec6390b1f841d8a468a37e9922f837 enforced privilege checks Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-94047 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-94047?** Check whether you run Samanhappy Mcphub at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The importTemplate function in src/services/templateService.ts failed to properly enforce privilege checks, allowing remote attackers to bypass authorization controls. The vulnerability was fixed by adding isPrivilegedServerConfig validation to the template import logic, as shown in patch 18a4467bc4ec6390b1f841d8a468a37e9922f837. Network access to the template import endpoint was required for exploitation.

## Affected products

- samanhappy MCPHub up to 1.0.32

## Timeline

- 2026-09-20: disclosed
- 2026-08-28: patched: patch 18a4467bc4ec6390b1f841d8a468a37e9922f837 enforced privilege checks

## References

- [https://github.com/samanhappy/mcphub/](https://github.com/samanhappy/mcphub/)
- [https://github.com/samanhappy/mcphub/commit/18a4467bc4ec6390b1f841d8a468a37e9922f837](https://github.com/samanhappy/mcphub/commit/18a4467bc4ec6390b1f841d8a468a37e9922f837)

## Related threats

- [samanhappy MCPHub credential exfiltration via passthroughHeaders](https://junglewise.ai/threats/cve-2026-120323-a-security-flaw-has-been-discovered-in-samanhappy-mcphub-up-to-1)
- [MCPHub OAuth 2.0 authentication bypass in authorization server](https://junglewise.ai/threats/cve-2026-90474-mcphub-oauth-2-0-authentication-bypass-in-authorization-server)
- [MCPHub horizontal privilege escalation in tool execution API](https://junglewise.ai/threats/cve-2026-79750-mcphub-horizontal-privilege-escalation-in-tool-execution-api)
- [MCPHub SSRF guard bypass in IPv6 transition address handling](https://junglewise.ai/threats/cve-2026-79749-mcphub-ssrf-guard-bypass-in-ipv6-transition-address-handling)
- [MCPHub privilege escalation in server configuration endpoints](https://junglewise.ai/threats/cve-2026-79748-mcphub-privilege-escalation-in-server-configuration-endpoints)
