平台
python
组件
deerflow
修复版本
2176b2bbfccfce25ceee08318813f96d843a13fd
CVE-2026-40518 描述了 ByteDance DeerFlow 在自定义代理创建过程中存在的路径遍历和任意文件写入漏洞。该漏洞允许攻击者绕过代理名称验证,从而在系统上写入任意文件,前提是文件系统权限允许。受影响的版本包括 0.0.0–2176b2bbfccfce25ceee08318813f96d843a13fd。已发布修复版本 2176b2bbfccfce25ceee08318813f96d843a13fd。
该路径遍历漏洞允许攻击者通过构造恶意代理名称,在 DeerFlow 系统中写入任意文件。攻击者可以利用此漏洞覆盖关键配置文件、执行恶意代码或篡改数据,从而完全控制受影响的系统。由于 DeerFlow 经常用于自动化和数据处理任务,因此该漏洞可能导致敏感信息泄露、系统中断或恶意软件传播。攻击者可能利用此漏洞进行横向移动,进一步渗透到网络中。如果 DeerFlow 部署在共享主机环境中,则多个用户都可能受到影响。
目前尚未公开发现针对此漏洞的利用代码,但其高危评级表明存在被利用的风险。该漏洞已于 2026 年 4 月 17 日公开披露。由于其潜在影响,建议尽快采取缓解措施。该漏洞的利用模式类似于其他路径遍历漏洞,攻击者可能通过构造恶意输入来绕过安全检查。
Organizations utilizing DeerFlow in their data processing pipelines, particularly those with bootstrap-mode custom-agent creation enabled, are at risk. Environments with less restrictive filesystem permissions for the DeerFlow process are especially vulnerable, as an attacker could leverage this vulnerability to gain broader system access. Users relying on DeerFlow for sensitive data processing should prioritize patching.
• python: Monitor DeerFlow process for unexpected file creation or modification outside of the intended custom-agent directory. Use os.walk() to recursively scan directories and identify suspicious files.
• generic web: Examine DeerFlow logs for requests containing path traversal sequences in the agent name parameter. Use grep to search for patterns like ../ or absolute paths.
• linux / server: Use lsof to identify processes accessing files outside the expected DeerFlow directory. lsof | grep deerflow
disclosure
漏洞利用状态
EPSS
0.03% (9% 百分位)
CISA SSVC
缓解此漏洞的首要措施是立即升级 DeerFlow 至修复版本 2176b2bbfccfce25ceee08318813f96d843a13fd。如果无法立即升级,可以考虑以下临时缓解措施:限制 DeerFlow 进程的权限,使其只能访问必要的目录;实施严格的输入验证,过滤掉包含路径遍历字符的代理名称;使用 Web 应用防火墙 (WAF) 或代理服务器来检测和阻止恶意请求。在升级后,请验证代理创建功能是否正常工作,并检查系统文件是否被篡改。
Actualice DeerFlow a la versión que incluya el commit 2176b2bbfccfce25ceee08318813f96d843a13fd o posterior. Esta corrección aborda la validación de nombres de agentes en el modo de arranque, previniendo la posibilidad de escritura arbitraria de archivos.
漏洞分析和关键警报直接发送到您的邮箱。
CVE-2026-40518 是 DeerFlow 0.0.0–2176b2bbfccfce25ceee08318813f96d843a13fd 中发现的路径遍历漏洞,允许攻击者写入任意文件。
如果您正在使用 DeerFlow 的 0.0.0–2176b2bbfccfce25ceee08318813f96d843a13fd 版本,则可能受到影响。
请立即升级 DeerFlow 至修复版本 2176b2bbfccfce25ceee08318813f96d843a13fd。
目前尚未公开发现利用代码,但由于其高危评级,存在被利用的风险。
请查阅 ByteDance 的安全公告或 DeerFlow 的官方文档,以获取有关此漏洞的更多信息。
CVSS 向量
上传你的 requirements.txt 文件,立即知道是否受影响。