You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[GHSA-9w48-x22j-rrm7] - [v2] - Network tracker buffers a POST event-stream response with no size limit #2948
Advisory:GHSA-9w48-x22j-rrm7 Status: published; fixed in 2.15.0 Severity: Medium (CVSS 3.1: 6.5) Affected: v2 (all 2.x through 2.14.0). v1 is not affected.
The fetch tracker behind the Network log (core/mcp/fetchTracking.ts) treated only GET event streams as long-lived, so a POST answered with text/event-stream (normal for streamable HTTP) was read in full with an uncapped response.clone().text(). A response that never ends grows that buffer without limit in the backend process, which serves every session.
Fix: read the tracked copy through a capped reader (TRACKED_BODY_MAX_BYTES, 1 MiB), record a truncated body, and cancel only the tracker's copy so the transport's stream keeps flowing. Developed and reviewed in the advisory's private fork; it lands through #2944.
Scope note: this bounds the Inspector's own buffering. The MCP SDK's own handling of POST SSE and JSON responses is outside this fix.
Priority (2026-11-11): Severity 4 — a server under test can take down the whole backend; availability only. Urgency 4 — accepted advisory affecting every published 2.x. +1 security. Total 9 → High.
Activity
cliffhall commentedon Nov 11, 2026
Fixed by #2944 (merged to
v2/mainas bc08507). Ships in v2.15.0.