Description
Cognition before 0.13.0 contains an unauthenticated remote code execution vulnerability due to defaulting its agent sandbox backend to local execution and shipping no authentication on its REST/SSE API. Attackers can create a session via POST /sessions and post a message via POST /sessions/{id}/messages without credentials, causing the Deep Agents ReAct loop to run attacker-directed shell commands through the local shell backend, resulting in remote code execution as the server process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| CognicellAI | Cognition | < 0.13.0 | 0.13.0 |
References
- Lasso.security Advisory technical-description exploit
- Cognition v0.13.0 Release Notes release-notes patch
- VulnCheck Advisory: Cognition < 0.13.0 Unauthenticated RCE via Local Shell Backend third-party-advisory