平台
python
组件
langflow
修复版本
1.9.1
1.9.0
CVE-2026-33873 描述了 Langflow 中的一个严重漏洞,该漏洞允许攻击者通过 Agentic Assistant 功能执行任意 Python 代码。攻击者可以影响模型输出,导致服务器端代码执行。此漏洞影响 Langflow 1.8.3rc0 及以下版本。 幸运的是,该问题已在 1.9.0 版本中得到修复。
CVE-2026-33873 影响 Langflow,这是一款用于构建和部署 AI 驱动代理和工作流程的工具。在 1.9.0 版本之前,Langflow 中的“Agentic Assistant”功能会在验证阶段执行 LLM 生成的 Python 代码。虽然此阶段似乎旨在验证生成的组件代码,但实现会达到动态执行汇聚点并在服务器端实例化生成的类。在攻击者可以访问“Agentic Assistant”功能并影响模型输出的部署中,这可能导致远程代码执行 (RCE)。CVSS 分数为 9.5,表明存在一个关键漏洞。在底层服务器上执行任意代码的能力对系统的机密性、完整性和可用性构成重大风险。
如果攻击者能够影响 Langflow 的“Agentic Assistant”功能使用的模型的输出,则他们可能会利用此漏洞。这可以通过恶意提示注入或操纵模型输入数据来实现。一旦模型生成恶意 Python 代码,Langflow 的验证阶段将在服务器上执行该代码,从而使攻击者能够以 Langflow 进程的权限执行任意命令。LLM 生成的代码验证不足是此漏洞的根本原因。
Organizations deploying Langflow in production environments, particularly those where the AI models are exposed to untrusted input or where the Agentic Assistant feature is accessible to unauthorized users, are at significant risk. Shared hosting environments utilizing Langflow are also vulnerable, as a compromised model could impact multiple tenants.
• python / server: Monitor Python processes for unexpected or suspicious activity. Use tools like ps or top to identify processes executing unusual Python scripts.
ps aux | grep python• python / server: Examine server logs for errors or warnings related to code execution within the Agentic Assistant feature. Look for patterns indicative of malicious code injection.
grep -i "error" /var/log/syslog• python / server: Use system auditing tools to track file modifications within the Langflow installation directory, particularly those related to the Agentic Assistant feature. • generic web: Monitor access logs for requests targeting the Agentic Assistant endpoint, especially those originating from untrusted sources.
disclosure
漏洞利用状态
EPSS
0.09% (25% 百分位)
CISA SSVC
CVE-2026-33873 的主要缓解措施是将 Langflow 升级到 1.9.0 或更高版本。此版本通过消除验证阶段中 LLM 生成的 Python 代码的执行来修复漏洞。此外,建议审查和强化 Langflow 的安全配置,包括为“Agentic Assistant”功能实施严格的访问控制。监控系统活动以查找异常行为也有助于检测和响应潜在攻击。考虑为“Agentic Assistant”使用沙盒执行环境,以提供额外的保护层。
将 Langflow 更新到 1.9.0 或更高版本。此版本修复了 Agentic Assistant 验证期间的任意代码执行漏洞。
漏洞分析和关键警报直接发送到您的邮箱。
Langflow 是一款用于构建和部署 AI 驱动代理和工作流程的工具。
1.9.0 版本修复了 CVE-2026-33873 漏洞,该漏洞允许远程代码执行。
升级到 1.9.0 或更高版本,实施严格的访问控制,并监控系统活动。
攻击者可以使用 Langflow 进程的权限执行任何可以由 Langflow 进程执行的 Python 代码。
禁用“Agentic Assistant”功能是一种临时解决方案,但不建议长期使用。
上传你的 requirements.txt 文件,立即知道是否受影响。