Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-2299

NIXPKGS-2026-2299
published 3 hours ago
MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
Permalink CVE-2026-52869
7.1 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): Low (L)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): Low (L)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): Low (L)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): Low (L)
updated 3 hours ago by @erictapen Activity log
  • Created suggestion
  • @erictapen ignored
    18 packages
    • python314Packages.aliyun-python-sdk-config
    • python313Packages.aliyun-python-sdk-config
    • python314Packages.aliyun-python-sdk-alimt
    • python313Packages.aliyun-python-sdk-alimt
    • python314Packages.aliyun-python-sdk-dbfs
    • python314Packages.aliyun-python-sdk-core
    • python313Packages.aliyun-python-sdk-dbfs
    • python313Packages.aliyun-python-sdk-core
    • python314Packages.aliyun-python-sdk-sts
    • python314Packages.aliyun-python-sdk-kms
    • python314Packages.aliyun-python-sdk-iot
    • python314Packages.aliyun-python-sdk-cdn
    • python313Packages.aliyun-python-sdk-sts
    • python313Packages.aliyun-python-sdk-kms
    • python313Packages.aliyun-python-sdk-iot
    • python313Packages.aliyun-python-sdk-cdn
    • python313Packages.bce-python-sdk
    • python314Packages.bce-python-sdk
  • @erictapen accepted
  • @erictapen published on GitHub
MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal

The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to 1.27.2, the SSE and stateful Streamable HTTP transports mcp.server.sse.SseServerTransport and mcp.server.streamable_http_manager.StreamableHTTPSessionManager route requests to existing sessions using only the session_id query parameter or Mcp-Session-Id header without verifying the authenticated principal that created the session, allowing a different bearer-token-authenticated client with a known session ID to inject JSON-RPC messages into that session. This issue is fixed in version 1.27.2.

Affected products

python-sdk
  • ==< 1.27.2
Ignored packages (18)
Affects python3Packages.mcp