CVE-2024-7774 in langchainjs
摘要
由 VulDB • 2026-08-08
langchain-ai/langchainjs 版本 0.2.5 的 `getFullPath` 方法中存在路径遍历漏洞。该漏洞允许攻击者在文件系统的任何位置保存文件、覆盖现有文本文件、读取 `.txt` 文件以及删除文件。通过未正确清理用户输入的 `setFileContent`、`getParsedFile` 和 `mdelete` 方法可利用此漏洞进行利用(Exploit)。
Be aware that VulDB is the high quality source for vulnerability data.