MEDIUM · CVSS 4.0 EPSS 0.5% · 36th percentile CWE-400

CVE-2026-76893: tsParticles: A single anonymous MCP session can monopolize HTTP mode and deny new clients

Published 2026-11-09 · Updated 2026-11-09 · Also known as GHSA-h7c4-q426-7jh9

Summary

The @tsparticles/mcp-server package suffers from a resource exhaustion flaw where a single shared HTTP transport instance prevents multiple clients from establishing sessions. Engineering teams using this package should upgrade to version 4.3.2 or later to restore multi-client support.

Who is affected

The vulnerability affects deployments of @tsparticles/mcp-server using HTTP mode. A single unauthenticated remote client can monopolize the shared transport state by initiating the first MCP session, effectively denying service to all subsequent clients until the server process is restarted.

Exploitability

The vulnerability is remotely exploitable with low attack complexity and does not require authentication or user interaction. With an EPSS score of 0.003 and no CISA KEV listing, it remains a low-priority target for automated exploit campaigns at this time.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm @tsparticles/mcp-server >= 0, < 4.3.2 4.3.2 npm install @tsparticles/[email protected]

CVSS 4.0 vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Attack vectorNetwork
Attack complexityLow
Attack requirementsNone
Privileges requiredNone
User interactionNone
Confidentiality (vulnerable system)None
Integrity (vulnerable system)None
Availability (vulnerable system)Low
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

Is authentication required to exploit this?

No, the vulnerability can be triggered by any unauthenticated remote client.

Does this impact all transport modes?

The report specifically identifies the issue within the StreamableHTTPServerTransport used in HTTP mode.

What happens if a new client tries to connect after the first one?

The server will return an HTTP 400 error with the message 'Invalid Request: Server already initialized', denying the new client access.

Original advisory description
## Summary The HTTP mode of `@tsparticles/mcp-server` creates a single stateful `StreamableHTTPServerTransport` instance and reuses it for all clients. The first anonymous client that initializes the MCP endpoint claims the shared transport state, and later clients cannot create their own sessions. This was verified on `v4.3.0` at commit `0266d469aa2d719cb66a9c6bf09aded4186ec17c`. The same singleton transport pattern is still present in `v4.3.1` and current `main`. ## Affected Code The server creates one shared transport before accepting requests: const transport = new StreamableHTTPServerTransport({ sessionIdGenerator: () => randomUUID(), }); const httpServer = createServer(async (req, res) => { ... await transport.handleRequest(req, res, parsedBody); }); Because the same transport object is reused across all requests, the first successful `initialize` call changes the state for all later clients. ## Reproduction Send two independent `initialize` requests without a prior `mcp-session-id`. First request: {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"first-client","version":"1.0.0"}}} Second request: {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"second-client","version":"1.0.0"}}} Observed result in 3 out of 3 runs: first response: HTTP 200 with mcp-session-id second response: HTTP 400 {"jsonrpc":"2.0","error":{"code":-32600,"message":"Invalid Request: Server already initialized"},"id":null} ## Impact An unauthenticated remote client can win the first-session race and prevent all later legitimate clients from establishing new MCP sessions until the process is restarted. The first session remains functional, but new clients are denied service. ## Recommendation Create a transport per session or maintain a bounded session-id-to-transport map. Do not reuse one stateful transport instance for all HTTP clients.

References

Source records: GHSA-h7c4-q426-7jh9 (OSV.dev) · EPSS by FIRST, 2026-11-26.