Skip to main content
CVE-2026-116685VulnerabilityPublished

pieces-cli · Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and

Affects pieces-cliSource GCVE Database

0
Compare
Authoritative record:CVE-2026-116685· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium · fixed in 1.30.0 : update pieces-cli when convenient.

Data as of 30 Oct 2026, 08:15 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.9
Patch
Available – fixed in 1.30.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Homebrewpieces-clipkg:brew/pieces-cliOther threatsAffected
  • >=1.15.1
Fixed in–

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

AI-suggested

Upgrade to MCP Python SDK version 1.30.0 (1.x) or 2.2.0 (2.x) or later, which restricts redirects to the same origin and fails on cross-origin redirects. No code changes are needed for the upgrade. Until upgrading, configure your HTTP client with follow_redirects set to False to prevent automatic redirect following. If a client may have already followed a redirect to an untrusted host, rotate any credentials that were sent. Avoid relying on redirects to different hosts; instead, set the endpoint URL directly to the final target. The SDK provides an unsupported option to restore the old behavior by using a custom HTTP client that follows all redirects, but this is not recommended due to security risks.

Description

The Model Context Protocol (MCP) Python SDK versions 1.8.0 through 1.29.1 and 2.0.0 through 2.1.1 have a vulnerability where HTTP client transports follow cross-origin redirects and send custom headers and, on certain redirects, the request body to the redirected host. This behavior can expose sensitive headers such as API keys if an attacker can cause a trusted endpoint to redirect to a malicious host. The SDK now restricts redirects to same-origin only in versions 1.30.0 and 2.2.0 and later.

References

Community reviews

Loading reviews…