The Model Context Protocol (MCP) Python SDK versions 1.8.0 through 1.29.1 and 2.0.0 through 2.1.1 have an issue where their HTTP client transports follow cross-origin HTTP redirects and send custom headers (such as X-API-Key) and, on 307 or 308 redirects, the request body to the redirected origin. OAuth client providers in the SDK exhibit the same behavior. The lone Authorization bearer header is not sent on cross-origin redirects. This could allow an attacker who can cause a trusted endpoint to redirect to a malicious host to capture sensitive headers and request bodies. The issue is fixed in MCP SDK versions 1.30.0 and 2.2.0 and later, where redirects are only followed if they remain on the same origin or upgrade from http to https on the same host. Until upgraded, users can mitigate by disabling automatic redirect following or rotating credentials if a redirect to an untrusted host occurred.
The Model Context Protocol (MCP) Python SDK client versions 1.10.0 through 1.29.1 and 2.0.0 through 2.1.1 have a vulnerability where the client fetches server-chosen $ref URLs during tool output schema validation. This causes the client to synchronously fetch external HTTP, HTTPS, or local file references without timeout, potentially stalling the client and allowing a server to induce denial of service. The issue is fixed in versions 1.30.0 and 2.2.0 or later by restricting $ref resolution to within the schema document only.
GitPython's Remote.pull() method improperly handles the positional refspec argument, allowing an attacker to supply a malicious option-like value such as --upload-pack=<command>. This bypasses the unsafe-option guard that only inspects keyword arguments, resulting in arbitrary command execution with the privileges of the calling process. Exploitation requires the remote to use a local-path or SSH transport, as HTTPS ignores the upload-pack option. The vulnerability affects GitPython versions from 1.0.1 up to but not including 1.6.1_1 and is fixed in version 1.6.1_1.
A vulnerability in openshift-ansible's installer container run script allows downloading and executing remote inventory and dynamic scripts without verifying their integrity. An attacker with network-level access or control over the remote script server could substitute malicious executables, which would run with the installer's user ID and full cluster provisioning privileges, enabling arbitrary code execution. The risk is limited to environments that use remote inventory sources via environment variables and is mitigated by securing network communications and using HTTPS with trusted servers.
Szafir versions prior to 2.0 build 708 accept any client or server certificate without validating the certificate or hostname. This allows HTTPS connections without authenticating the remote server, enabling an attacker to present arbitrary SSL/TLS certificates and potentially cause the application to download malicious update files from their server. The vulnerability is fixed in version 2.0 build 708.
Two security vulnerabilities have been identified in the python3.12-urllib3 package for Red Hat Enterprise Linux 8. One allows denial of service via unbounded memory allocation in the chunk parser (CVE-2026-97689), and the other permits traffic interception through HTTPS proxy TLS configuration override (CVE-2026-97687). Red Hat has released an important security update addressing these issues.