CVE-2026-116685
Medium · 5.9CVSS
5.9
EPSS
0.4%
Published
Oct 27, 2026
CISA due date
—
Cloudanix analysis
A bug in a Python library for managing online connections could allow attackers to steal login credentials and data if they manage to redirect traffic to their own server.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Data Exposure
- Component
- Library
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability allows HTTP client components in the Model Context Protocol Python SDK to follow redirects across origins while forwarding caller-supplied custom credential headers and, for 307/308 responses, the full request body, enabling disclosure of authentication material to attacker-controlled endpoints.
Why it matters to the business
Organizations using affected SDK versions face risk of credential and data leakage during HTTP operations that encounter redirects, which could lead to unauthorized access, data exposure, or compliance violations; the issue is recent with low observed exploitation but requires prompt attention due to the sensitive nature of forwarded material.
How an attack unfolds
An attacker who can influence the redirect destination of a trusted endpoint configures a malicious target; when the vulnerable client follows the redirect, it forwards custom headers containing credentials and request bodies on certain status codes, allowing the attacker to capture the sensitive data.
How to fix it
Upgrade the Model Context Protocol Python SDK to version 1.30.0 or 2.2.0 or later; review and restrict follow_redirects behavior in client configurations for untrusted origins; disable automatic following of redirects where feasible until upgrades are complete.
How to confirm the fix worked
Confirm installed SDK version is 1.30.0 or 2.2.0 or higher; test client redirect handling in isolated environments to ensure credentials are not forwarded across origins; inspect code for use of streamable_http_client, sse_client, and related components.
Typical attack path
- Identify applications using vulnerable versions of the Model Context Protocol Python SDK client paths
- Compromise or control a redirect target reachable from a trusted endpoint
- Trigger an HTTP request from the client that results in a cross-origin redirect
- Capture forwarded credential headers and request bodies at the attacker-controlled endpoint
How to detect it
Review application and network logs for unexpected redirects from SDK client requests; search for patterns where custom headers or request bodies are sent to previously unseen domains following redirects; monitor for post-redirect traffic containing authentication artifacts.
What your security team should do
- Prioritize upgrade to fixed versions 1.30.0 or 2.2.0 within the next 48 hours given the two-day publication window
- Audit all code paths using affected client components for custom header usage and redirect handling
- Implement network monitoring for anomalous cross-origin redirects involving SDK traffic
- Temporarily disable redirect following in client setups until patches are applied
The record
The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients. From 1.8.0 until 1.30.0 and 2.2.0, streamable_http_client, streamablehttp_client, sse_client, ClientSessionGroup, OAuth, and create_mcp_http_client client paths enable follow_redirects and follow redirects to a different origin, forwarding caller-supplied custom credential headers and, for 307 or 308 responses, the request body. An attacker who can influence a trusted endpoint's redirect destination can receive that material. This issue is fixed in versions 1.30.0 and 2.2.0.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-62979 jack lets users share media libraries through their Radarr/Sonarr stack, peer-to-peer. CWE-200
- CVE-2026-55098 Arc is an open, SQL-native time-series database for telemetry. CWE-200
- CVE-2026-119331 Ladybird is a truly independent web browser. CWE-200
- CVE-2026-62264 PDF Reader MCP is a Model Context Protocol server for reading PDF documents. CWE-200
- CVE-2026-110305 The Advanced Custom Fields: Extended plugin for WordPress is vulnerable to Sensitive… CWE-200
- CVE-2026-61730 SOCFortress CoPilot focuses on providing a single pane of glass for all your security… CWE-200
- CVE-2026-119570 Parse Server from 9.7.0 before 9.10.5-alpha.7 contains an information disclosure… CWE-200
- CVE-2026-14467 An information disclosure vulnerability in the Forocoches comments editor that allows an… CWE-200