Article View: linux.debian.bugs.rc
Article #2071Bug#1152686: python-mcp: CVE-2026-59951
From: Salvatore Bonaccorso
Date: Sat, 31 Oct 2026 10:00
Date: Sat, 31 Oct 2026 10:00
39 lines
3184 bytes
3184 bytes
Source: python-mcp
Version: 1.28.1-1
X-Debbugs-CC: team@security.debian.org
Severity: grave
Tags: security upstream
Hi,
The following vulnerability was published for python-mcp.
CVE-2026-59951[0]:
| The MCP Python SDK, called mcp on PyPI, is a Python implementation
| of the Model Context Protocol (MCP). From 1.8.0 until 1.30.0 and
| 2.2.0, stateful Streamable HTTP servers, including FastMCP,
| MCPServer, Server.streamable_http_app(), and
| StreamableHTTPSessionManager, retain session entries without an idle
| expiration or aggregate session-count limit. DELETE, refused opening
| requests, and completed sessions do not reliably discard their
| entries, and each entry can retain parsed initialize parameters. A
| client that can reach the endpoint can therefore create ordinary
| short requests that grow server memory without bound until restart.
| Stateless HTTP, stdio, and SSE transports are not affected. This
| issue is fixed in versions 1.30.0 and 2.2.0.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-59951
https://www.cve.org/CVERecord?id=CVE-2026-59951
[1] https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-84m7-p3x7-pcfv
[2] https://github.com/modelcontextprotocol/python-sdk/pull/3395
[3] https://github.com/modelcontextprotocol/python-sdk/pull/3426
[4] https://github.com/modelcontextprotocol/python-sdk/commit/92120b4b0f50385af096592d7cee932fc1d994e7
Regards,
Salvatore
Technical Details
Message-ID:
<NUe2t-8Z3q-13@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Salvatore Bonaccorso <carnil@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1152686: python-mcp: CVE-2026-59951 Date: Sat, 31 Oct 2026 11:00:01 +0100 Message-ID: <NUe2t-8Z3q-13@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sat Oct 31 09:57:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1152686@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1152686 X-Debian-Pr-Package: src:python-mcp X-Debian-Pr-Keywords: security upstream X-Debian-Pr-Source: python-mcp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: carnil X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/836725 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 39 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 31 Oct 2026 10:54:28 +0100 X-Original-Message-ID: <auW61EUVObf50ev6@eldamar.lan>