Advisory record · GHSA-jpw9-pfvf-9f58

MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal

CVSS 7.1 HighEPSS 0.0053 · 45th percentile

Published by the GitHub Advisory Database at 16 Jul 2026, 19:58 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mcpPyPI<1.27.21.27.2
Identifiers
GHSA-jpw9-pfvf-9f58 · CVE-2026-52869 · PYSEC-2026-3482
Weakness (CWE)
CWE-639
Published
16 Jul 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of the mcp Python SDK before 1.27.2 have an authorization flaw in their SSE and Streamable HTTP transports: requests were routed to an existing session by session ID alone, without checking that the caller's bearer token matched the principal that created the session. An attacker who learns or guesses a session ID, such as from logs or network observation, can inject JSON-RPC messages into that session, and on Streamable HTTP can read the results. Upgrade to version 1.27.2 or later. Servers that do not use bearer-token authentication are not addressed by this advisory.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.1 High 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0053, the 45th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:29 UTC First seen by agentprime
  2. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.