Paperclip code execution via workspace cleanup commands
paperclipai @paperclipai/server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @paperclipai/server npm |
|
|
Original description
Paperclip 2026.403.0 before 2026.416.0 contains a remote code execution vulnerability that allows agent API key holders to set cleanupCommand and teardownCommand via PATCH /api/execution-workspaces/:id. When the workspace is archived, cleanupExecutionWorkspaceArtifacts runs these commands through a shell as the Paperclip server process, executing attacker-chosen OS commands on the server host.
From the CVE record · VulnCheck