Skip to main content
VulnerabilityPublished

CVE-2026-52869: MCP Python SDK · HTTP transports serve session requests without verifying the authenticated principal

Affects snyk-agent-scanSource GCVE Database

0
Authoritative record:CVE-2026-52869· High 7.1

Not known to be exploited · CVSS 7.1 High : upgrade to 0.5.17 soon.

Data as of 26 Oct 2026, 11:07 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.5.17
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade snyk-agent-scan to 0.5.17.

Affected software

ProductAffectedFixed in
Homebrewsnyk-agent-scanpkg:brew/snyk-agent-scanOther threatsAffected
  • >=0.4.3 <0.5.17
Fixed in
  • 0.5.17

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade the MCP Python SDK to version 1.27.2 or later, which implements verification of the authenticated principal for each session and rejects requests with mismatched principals. For deployments where multiple end users share a single OAuth client, ensure the token verifier populates the AccessToken.subject to isolate sessions per user. Custom authentication backends should implement equivalent principal verification. No other immediate actions are required if the upgrade is applied.

Description

A vulnerability in the MCP Python SDK HTTP transports (SSE and Streamable HTTP in stateful mode) allows session hijacking by bypassing authentication checks. Incoming requests are routed to existing sessions based solely on session IDs without verifying the authenticated principal. This enables an attacker who knows or guesses a session ID to send JSON-RPC messages on that session regardless of the bearer token used. The issue affects versions from 0.4.3 up to but not including 0.5.17. A fix is available in version 1.27.2 or later.

References

Community reviews

Loading reviews…