Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Low severity, with a CVSS score of 3.1, published 16 April 2026.
- Which products and versions are affected?
- @paperclipai/server (npm) SEMVER:introduced=0,fixed=2026.416.0; Paperclip AI Paperclip <2026.416.0.
- Is there a fix for This vulnerability?
- Yes. @paperclipai/server (npm): upgrade to 2026.416.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a web application.
- Am I affected?
- Check whether you run @paperclipai/server (npm) or Paperclip AI Paperclip at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @paperclipai/server (npm): upgrade to 2026.416.0 or later
npm install @paperclipai/server@2026.416.0
Technical details
This is an OS command injection vulnerability (CWE-78) in the execution workspace lifecycle. The vulnerable code path is in workspace-runtime.ts, where the cleanupExecutionWorkspaceArtifacts() function passes user-supplied cleanupCommand values directly to child_process.spawn() without any input validation, sanitization, or allowlisting. An attacker can inject arbitrary shell commands via the PATCH /api/execution-workspaces/:id endpoint, which stores the malicious command in workspace metadata. When the workspace transitions to archived status, the injected command executes with server process privileges. In local_trusted mode (default for desktop), the authentication middleware grants implicit admin privileges to all requests; in authenticated mode, any user with company access can modify workspace config. The vulnerability has been demonstrated with arbitrary file writes, system information exfiltration, and GUI application execution.
Affected products
- Paperclip AI Paperclip <2026.416.0
Timeline
- 2026-04-16: disclosed: GHSA-vr7g-88fq-vhq3 published
- 2026-04-16: patched: Version 2026.416.0 released with fix