fast-mcp is vulnerable to Race Condition
10
Low Risk
Affected versions of this package are vulnerable to a race condition in the @sse_clients hash management within RackTransport, occurring when running in multi-threaded environments. This thread-unsafe implementation allows attackers to trigger denial-of-service (DoS) crashes by spamming SSE connections/disconnections, exploiting the error handling when concurrent threads attempt to modify the client registry during iteration. Additionally, the lack of synchronization around client IO streams creates a potential for data corruption if an attacker precisely times writes during stream modifications.
You are affected if you are using a version that falls within the vulnerable range.
fast-mcp is vulnerable to Race Condition in versions 1.0.0 - 1.4.0.
Upgrade the fast-mcp library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant