Paperclip: Privilege Escalation via Agent-Controlled workspaceStrategy.provisionCommand Leading to OS Command Execution
Published Apr 23, 2026
8.8
HIGHCVSS 3.1
EPSS 0.83%
Description
Paperclip is a Node.js server and React UI that orchestrates a team of AI agents to run a business. Versions of @paperclipai/server prior to 2026.416.0 contain a privilege escalation vulnerability that allows an attacker with an Agent API key to execute arbitrary OS commands on the Paperclip server host. An attacker with an agent credential can escalate privileges from the agent runtime to the Paperclip server host. The vulnerability occurs because agents are allowed to update their own adapterConfig via the /agents/:id API endpoint. The configuration field adapterConfig.workspaceStrategy.provisionCommand is later executed by the server runtime. As a result, an attacker controlling an agent credential can inject arbitrary shell commands which are executed by the Paperclip server during workspace provisioning. This breaks the intended trust boundary between agent runtime configuration and server host execution, allowing a compromised or malicious agent to escalate privileges and run commands on the host system. This vulnerability allows remote code execution on the server host. @paperclipai/server version 2026.416.0 fixes the issue.
Affected products
-
- Version < 2026.416.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Paperclipai | n/a | n/a |
|
- < 2026.416.0
No data.
No Red Hat product state for this CVE.
@paperclipai/server
npm
Introduced 0 Fixed 2026.416.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @paperclipai/server | 0 | 2026.416.0 |
Remediation
No remediation recorded yet.
References (4)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-25162 Advisory
- https://github.com/advisories/GHSA-265w-rf2w-cjh4 Advisory
- https://github.com/paperclipai/paperclip/security/advisories/GHSA-265w-rf2w-cjh4 exploitx_refsource_CONFIRMMitigationThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-41208
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-25162 | Advisory | |
| https://github.com/advisories/GHSA-265w-rf2w-cjh4 | Advisory | |
| https://github.com/paperclipai/paperclip/security/advisories/GHSA-265w-rf2w-cjh4 | exploitx_refsource_CONFIRMMitigationThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-41208 |
Change history (0)
No recorded changes yet.