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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| paperclipai | @paperclipai/server | 2026.403.0 – < 2026.416.0 | 2026.416.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @paperclipai/server | < 2026.416.0 | 2026.416.0 | GHSA-vr7g-88fq-vhq3 |
References
- GitHub Security Advisory (GHSA-vr7g-88fq-vhq3) vendor-advisory
- https://github.com/paperclipai/paperclip/commit/32a9165ddf6308f3b46eae0653b6f583e502e538 patch
- https://github.com/paperclipai/paperclip/blob/v2026.403.0/server/src/routes/execution-workspaces.ts technical-description
- @paperclipai/server v2026.416.0 Release Notes release-notes
- https://github.com/paperclipai/paperclip product
- VulnCheck Advisory: Paperclip 2026.403.0 before 2026.416.0 RCE via Execution Workspace Cleanup Commands third-party-advisory