跳到主要内容

超危

Langflow exec_globals远程代码执行漏洞

2026-01-09 00:00:00 公开 ,2026-07-22 09:03:36 更新

  • CISA KEV
  • 关键漏洞
  • 无需认证
  • 远程
  • 公开PoC
  • 开源组件漏洞
CWEs:
CWE-829 (Inclusion of Functionality from Untrusted Control Sphere)
CAPEC:
CAPEC-175 (Code Inclusion) CAPEC-201 (Serialized Data External Linking) CAPEC-228 (DTD Injection) CAPEC-251 (Local Code Inclusion) CAPEC-252 (PHP Local File Inclusion) CAPEC-253 (Remote Code Inclusion) CAPEC-263 (Force Use of Corrupted Files) CAPEC-538 (Open-Source Library Manipulation) CAPEC-549 (Local Execution of Code) CAPEC-640 (Inclusion of Code in Existing Process) CAPEC-660 (Root/Jailbreak Detection Evasion via Hooking) CAPEC-695 (Repo Jacking) CAPEC-698 (Install Malicious Extension)
SSVC:
可利用状态:已被积极利用攻击自动化:是技术影响评估:全部 2026-01-23 08:00:00

风险信息

CVSS v3 向量
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v3 风险值
9.8

详细信息

漏洞类型
其他
漏洞描述
Langflow的validate_code()函数(位于 src/lfx/src/lfx/custom/validate.py)使用Python的exec()函数执行用户提供的代码,且exec_globals参数可被攻击者控制,导致攻击者能够注入并在root上下文中执行任意Python代码,
修复建议
请升级到1.9.0或更高版本,参考链接: https://github.com/langflow-ai/langflow/releases/tag/v1.9.0

参考链接