OS Command Injection in Paperclip - #VU141307
Published: August 8, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to command injection in the Execution Workspace lifecycle cleanupCommand handling in workspace-runtime.ts when processing a crafted PATCH request to /api/execution-workspaces/:id and later archiving the workspace. A remote attacker can inject a crafted cleanupCommand value to execute arbitrary code.
In the default local_trusted deployment mode, no authentication is required, and exploitation occurs when the workspace cleanup routine invokes the supplied command through a shell.