# CVE-2025-11287: MCPHub improper authorization in handleSseConnection

Source: https://junglewise.ai/threats/cve-2025-11287-mcphub-improper-authorization-in-handlesseconnection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-05. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2025-11287 · Severity: medium · CVSS 4 · Published 2025-10-05

MCPHub is an open-source Node.js library used for managing protocol connections. The vulnerability allows attackers to bypass authentication checks in the Server-Sent Events (SSE) connection handler, potentially granting unauthorized access to protected functionality. An attacker could exploit this remotely without authentication to compromise data integrity or availability.

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

## Quick answers

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

**How severe is CVE-2025-11287?** Medium severity, with a CVSS score of 4, published 5 October 2025.

**Which products and versions are affected?** @samanhappy/mcphub (npm) SEMVER:introduced=0,last_affected=0.9.10; Samanhappy Mcphub up to 0.9.10.

**Is there a fix for CVE-2025-11287?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-11287 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-11287?** Check whether you run @samanhappy/mcphub (npm) or 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

A improper authorization vulnerability (CWE-287) exists in the handleSseConnection function of src/services/sseService.ts in MCPHub up to version 0.9.10. The vulnerability stems from inadequate authentication validation when establishing SSE connections, allowing unauthenticated attackers to bypass security controls. The attack is remotely exploitable over the network and requires no special preconditions or user interaction. An attacker can leverage this to gain unauthorized access to SSE functionality. A patch has not been released as the vendor did not respond to the disclosure, though the exploit code is publicly available.

## Affected products

- samanhappy MCPHub up to 0.9.10

## Identifiers

- CVE-2025-11287
- GHSA-v7c4-33vf-cqqq

## Timeline

- 2025-10-05: disclosed: Published in GitHub Advisory Database
- 2025-09-23: other: CVE-2025-11287 issue opened

## References

- [https://github.com/August829/YU1/issues/8](https://github.com/August829/YU1/issues/8)

## 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)
- [samanhappy MCPHub privilege management in template import](https://junglewise.ai/threats/cve-2026-94047-a-security-vulnerability-has-been-detected-in-samanhappy-mcphub)
- [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)
