Command Injection Affecting @paperclipai/server package, versions <2026.416.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.29% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PAPERCLIPAISERVER-16323184
  • published30 Apr 2026
  • disclosed23 Apr 2026
  • creditPham Quang Minh

Introduced: 23 Apr 2026

NewCVE-2026-41208  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade @paperclipai/server to version 2026.416.0 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the /agents/:id update endpoint and adapterConfig.workspaceStrategy.provisionCommand. An attacker can execute arbitrary OS commands by updating their agent’s configuration with a crafted provisionCommand, which is later executed by the server using spawn("/bin/sh", ["-c", command]) during workspace provisioning, allowing escalation from the agent runtime to the server host.

CVSS Base Scores

version 4.0
version 3.1