CVE 8.8 HIGH

Paperclip: Privilege Escalation via Agent-Controlled workspaceStrategy.provisionCommand Leading to OS Command Execution_CVE-2026-41208

8.8 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

AI Analysis

Privilege escalation vulnerability allowing an attacker to execute arbitrary OS commands on the Paperclip server host via the Agent API key.

Basic Information

ID CVE-2026-41208
Source GitHub_M
Published Apr 23, 2026 at 00:47
Modified Apr 23, 2026 at 00:50

Affected Product

Vendor paperclipai
Product @paperclipai/server
Version < 2026.416.0
Affected Versions paperclipai @paperclipai/server < 2026.416.0

CWE Classification

AI Assessment

AI Score 8.8 / 10
AI Severity High
Vendor paperclipai
Product @paperclipai/server
Version < 2026.416.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.