{"id":"CVE-2026-41208","published":"2026-04-23T00:47:45Z","modified":"2026-04-23T14:46:01Z","title":"Paperclip: Privilege Escalation via Agent-Controlled workspaceStrategy.provisionCommand Leading to OS Command Execution","vendor":"paperclipai","product":"@paperclipai/server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00601,"percentile":0.49711,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/paperclipai/paperclip/security/advisories/GHSA-265w-rf2w-cjh4","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":9.94},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"paperclipai","affectedVersions":[{"vendor":"paperclipai","product":"@paperclipai/server","versions":["< 2026.416.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-23T14:41:22.683472Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@paperclipai/server","vulnerableRanges":["<2026.416.0"],"patched":["2026.416.0"],"from":["GHSA-265w-rf2w-cjh4"],"provenance":"source"}],"summary":{"text":"The @paperclipai/server component of the Paperclip Node.js server and React UI contains a privilege escalation flaw in which agents can update their own adapterConfig through the /agents/:id endpoint, and the resulting workspaceStrategy.provisionCommand value is executed by the server runtime during workspace provisioning. An attacker holding an Agent API key can exploit this over the network, without user interaction, to inject arbitrary shell commands that run with the privileges of the Paperclip server host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:14:06Z"},"euvd":{"id":"EUVD-2026-25162","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41679","published":"2026-04-23","fixed":"2026.410.0","kev":false,"link":{"from":"CVE-2026-41679","to":"CVE-2026-41208","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@paperclipai/server","fromFixed":"2026.410.0","toFixed":"2026.416.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same package + description similarity"}]}},{"cve":"CVE-2026-41208","published":"2026-04-23","fixed":"2026.416.0","kev":false}],"package":"npm:@paperclipai/server"}}