Intel

AIKIDO-2026-632806

@agentclientprotocol/sdk is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-xwmv-pq97-hp3w Published 5 days ago

47

Medium Risk

This Affects:

JS@agentclientprotocol/sdk
0.27.0 - 1.5.0
Fixed in 1.5.1
Are you affected? Scan for Free

TL;DR

An ACP server exposed over HTTP or WebSocket creates a permanent routing entry in ConnectionState's sessionStreams, pendingRoutes, and clientResponseRoutes maps for any session id named in a request, notification, or subscription, without checking that the session was ever created. A client that has completed the initial handshake can repeatedly name invented session ids to grow these maps without bound until the server runs out of memory, taking down every session it was handling. The fix validates a session id before routing to it instead of creating a permanent entry for any id it sees.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run an ACP server exposed over HTTP or WebSocket.

Background info

@agentclientprotocol/sdk is vulnerable to Denial of Service (DoS) in versions 0.27.0 - 1.5.0.

How to fix this

Upgrade the @agentclientprotocol/sdk library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform