🇰🇷 한글 설명
Paperclip 서버의 /agents/:id API 엔드포인트를 통해 에이전트가 자신의 adapterConfig.workspaceStrategy.provisionCommand를 수정할 수 있는데, 이 필드가 서버 런타임에서 직접 실행되어 임의의 OS 명령어 실행이 가능합니다. 에이전트 API 키를 가진 공격자가 이를 악용하여 서버 호스트에서 원격 코드 실행(RCE)을 수행할 수 있으며, 이는 에이전트 런타임과 서버 호스트 간의 신뢰 경계 침범입니다.
💡 쉬운 설명
Paperclip 서버의 에이전트들이 자신의 설정을 변경할 때, 공격자가 그 설정에 악의적인 명령어를 숨겨넣을 수 있습니다. 서버가 이 명령어를 검증 없이 실행하면서 공격자가 서버 컴퓨터를 완전히 장악할 수 있게 됩니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
@paperclipai/server < 2026.416.0
⚔️ 공격 벡터
Agent API 키로 /agents/:id 엔드포인트에 접근하여 adapterConfig.workspaceStrategy.provisionCommand 필드에 임의의 shell 명령어를 주입
🛡️ 대응 방법
@paperclipai/server를 2026.416.0 이상으로 업그레이드
🔧 검증 코드
출력된 버전이 2026.416.0 이상이면 안전하고, 그 이하이면 즉시 업그레이드 필요
npm list @paperclipai/server 2>/dev/null | grep -E '@paperclipai/server' | awk '{print $2}'