AI Security AI安全 4h ago Updated 1h ago 更新于 1小时前 42

Paperclip AI Flaws Let Attackers Run Host Commands via Malicious Agent Imports Paperclip AI 漏洞允许攻击者通过恶意 Agent 导入在主机上执行命令

Paperclip AI, an open-source control plane for AI agent teams, contains two critical vulnerabilities (CVE-2026-41679, CVSS 10.0; GHSA-x8hx-rhr2-9rf7, CVSS 9.6) that allow remote command execution on host servers or developer machines via malicious agent imports The server-side flaw exploits Paperclip's default open-signup registration flow, allowing unauthenticated attackers to self-register, approve their own CLI authorization, and import a malicious agent bundle that executes arbitrary command Paperclip AI开源代理控制平面存在三个严重安全漏洞,攻击者可通过恶意代理导入在服务器或开发者计算机上执行任意命令 CVE-2026-41679(CVSS 10.0)允许未认证攻击者通过默认开放注册流程远程执行命令,无需任何预存账户 CVE-2026-41679(CVSS 9.6)利用DNS重绑定攻击,在local_trusted本地开发模式下绕过认证执行恶意代码 第三个漏洞通过未授权API路由暴露敏感数据和控制面板信息 漏洞根源在于"代理配置即执行输入"的设计缺陷,Rapid7已发布Metasploit利用模块

62
Hot 热度
58
Quality 质量
60
Impact 影响力

Analysis 深度分析

TL;DR

  • Paperclip AI, an open-source control plane for AI agent teams, contains two critical vulnerabilities (CVE-2026-41679, CVSS 10.0; GHSA-x8hx-rhr2-9rf7, CVSS 9.6) that allow remote command execution on host servers or developer machines via malicious agent imports
  • The server-side flaw exploits Paperclip's default open-signup registration flow, allowing unauthenticated attackers to self-register, approve their own CLI authorization, and import a malicious agent bundle that executes arbitrary commands with server privileges
  • The localhost flaw leverages DNS rebinding attacks against Paperclip's default local_trusted mode, which treats all loopback requests as implicit administrator access, enabling browser-based exploitation without any stolen credentials
  • A third vulnerability exposes sensitive data and control-plane details through API routes lacking proper access enforcement
  • Rapid7 has released a public Metasploit module automating the server-side attack chain, and operators are urged to update to v2026.416.0 or later

Why It Matters

This incident demonstrates a critical class of vulnerabilities in AI agent orchestration platforms where agent configuration is effectively executable input, blurring the line between data and code. For AI practitioners deploying agent teams, it highlights that security assumptions around local development modes and open registration flows can lead to complete host compromise. The availability of a public Metasploit module and proof-of-concept exploitation makes this an urgent remediation priority for any organization running Paperclip.

Technical Details

  • CVE-2026-41679 (CVSS 10.0): An unauthenticated remote code execution vulnerability affecting network-accessible Paperclip deployments using authenticated mode with default registration configuration. The attack chain involves: (1) registering via the open-signup flow without invitation or email verification, (2) creating and approving a pending CLI challenge to obtain a board-level API credential, (3) exploiting an authorization bypass where the new-company import route accepts board-level access instead of requiring instance-administrator rights, and (4) importing a .paperclip.yaml bundle containing a process-adapter agent configured to execute arbitrary commands. The fix in v2026.416.0 enforces instance-administrator access for imports targeting new companies and company access for existing ones.
  • GHSA-x8hx-rhr2-9rf7 (CVSS 9.6): A DNS rebinding attack targeting Paperclip's default local_trusted mode, which binds to the loopback interface and treats all requests as implicit instance administrator access. The attack uses an attacker-controlled hostname that resolves alternately to the attacker's server and 127.0.0.1, allowing JavaScript to make same-origin requests to the local Paperclip service. The browser maintains same-origin trust while the Host header contains the attacker's hostname, which Paperclip accepts. The proof of concept was verified on macOS with Firefox.
  • Third vulnerability (untracked CVE): API routes exposing sensitive data and control-plane details without enforcing expected access checks, enabling information disclosure.
  • Core architectural issue: Paperclip's built-in process adapter intentionally launches configured commands as child processes of the server. The vulnerabilities exploit the fact that agent configuration can become executable behavior when authorization boundaries are insufficient.
  • Mitigation: Update to Paperclip v2026.416.0 or later, which adds import-authorization fixes and hostname-validation guards. Operators should review registration and deployment exposure configurations.

Industry Insight

  • AI agent orchestration platforms must adopt a "configuration as executable input" security model, where any agent configuration that reaches a process launcher is subject to the same rigorous validation and authorization controls as user-supplied code. The convergence of agent configuration and system execution creates a unique attack surface that traditional web application security models do not adequately address.
  • Default configurations in developer-facing AI tools often prioritize convenience over security, as demonstrated by Paperclip's local_trusted mode treating network location as identity. Security teams should audit default configurations of all AI infrastructure tools and enforce least-privilege principles even in local development environments, recognizing that DNS rebinding and similar techniques can bypass localhost assumptions.
  • The rapid publication of a Metasploit module by Rapid7 and CISA's SSVC enrichment marking this as automatable with proof-of-concept exploitation signals that this vulnerability will see active exploitation in the wild. Organizations running Paperclip should treat this as an emergency patching priority and conduct immediate inventory reviews of all Paperclip deployments, particularly those exposed to the internet or used in shared development environments.

TL;DR

  • Paperclip AI开源代理控制平面存在三个严重安全漏洞,攻击者可通过恶意代理导入在服务器或开发者计算机上执行任意命令
  • CVE-2026-41679(CVSS 10.0)允许未认证攻击者通过默认开放注册流程远程执行命令,无需任何预存账户
  • CVE-2026-41679(CVSS 9.6)利用DNS重绑定攻击,在local_trusted本地开发模式下绕过认证执行恶意代码
  • 第三个漏洞通过未授权API路由暴露敏感数据和控制面板信息
  • 漏洞根源在于"代理配置即执行输入"的设计缺陷,Rapid7已发布Metasploit利用模块

为什么值得看

Paperclip作为AI代理团队协作的控制平面工具,其漏洞揭示了AI代理系统安全的新攻击面——代理配置可直接转化为可执行行为。这对AI基础设施安全实践具有重要警示意义,提醒开发者必须将AI代理配置视为可信执行环境的一部分。

技术解析

  • 漏洞机制:Paperclip内置进程适配器会将以配置形式定义的命令作为子进程启动,漏洞使攻击者能够注入恶意配置并触发执行。修复版本v2026.416.0增加了对新公司导入的实例管理员权限验证。
  • 服务器端攻击链:攻击者利用默认开放注册创建账户,通过CLI授权流程获取Board级别API凭证,再利用导入路由的权限绕过创建公司并植入恶意代理,最终通过wakeup端点触发命令执行。
  • 本地DNS重绑定攻击:在local_trusted模式下,Paperclip将回环接口请求视为隐式管理员权限。攻击者通过DNS重绑定使浏览器认为请求同源,绕过CORS限制调用导入API执行恶意代理。
  • API访问控制缺陷:存在未强制实施预期访问检查的API路由,可暴露敏感数据和控制面板信息。
  • 利用现状:Rapid7已发布自动化Metasploit模块,NVD/CISA将其标记为可自动化利用的PoC级别漏洞,截至2026年8月5日尚无公开野外利用报告。

行业启示

  • AI代理安全范式转变:Oasis Security提出的"代理配置即执行输入"原则应成为AI代理系统设计的安全基线,配置与代码的边界需要重新审视。
  • 默认安全配置的重要性:Paperclip的默认开放注册和local_trusted模式虽便利开发,但扩大了攻击面。AI基础设施应遵循最小权限原则,默认关闭不必要的开放访问。
  • 供应链与导入机制风险:通过导入机制信任外部配置的模式存在固有风险,建议实施配置签名验证、沙箱执行和权限分级等纵深防御措施。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Security 安全 Open Source 开源 Agent Agent LLM 大模型