@ag-ui/client is vulnerable to Denial of Service (DoS)
54
CVE Score
Medium
Denial of Service (DoS)
FilterToolCallsMiddleware in @ag-ui/client keeps its blocked tool call id set on the middleware instance instead of per run. A stalled or interrupted run leaves ids on that shared set, so a later run on the same middleware instance can have unrelated tool call events wrongly filtered, or the set can grow without bound across many runs. The fix moves the set into a per subscription scope and clears it on RUN_STARTED so state no longer leaks between runs.
Upgrade the @ag-ui/client library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you reuse a single FilterToolCallsMiddleware instance across multiple agent runs.
0.0.1 - 0.0.59
Fixed in 1.0.0@ag-ui/client is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 0.0.59.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.