CVE-2026-23851 (CNNVD-202601-2994)

HIGH
中文标题:
SiYuan 路径遍历漏洞
英文标题:
SiYuan Vulnerable to Arbitrary File Read via File Copy Functionality
CVSS分数: 8.3
发布时间: 2026-01-19 19:57:29
漏洞类型: 路径遍历
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

SiYuan是SiYuan开源的一个隐私至上的个人知识管理系统。 SiYuan 3.5.4之前版本存在路径遍历漏洞,该漏洞源于/api/file/globalCopyFiles端点存在逻辑漏洞,缺少适当的路径验证,可能导致经过身份验证的用户将服务器文件系统上任意位置的文件复制到应用程序工作区。

英文描述:

SiYuan is a personal knowledge management system. Versions prior to 3.5.4 contain a logic vulnerability in the /api/file/globalCopyFiles endpoint. The function allows authenticated users to copy files from any location on the server's filesystem into the application's workspace without proper path validation. The vulnerability exists in the api/file.go source code. The function globalCopyFiles accepts a list of source paths (srcs) from the JSON request body. While the code checks if the source file exists using filelock.IsExist(src), it fails to validate whether the source path resides within the authorized workspace directory. Version 3.5.4 patches the issue.

CWE类型:
CWE-22
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
siyuan-note siyuan < 3.5.4 - - cpe:2.3:a:siyuan-note:siyuan:<_3.5.4:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-94c7-g2fj-7682 x_refsource_CONFIRM
cve.org
访问
https://github.com/siyuan-note/siyuan/issues/16860 x_refsource_MISC
cve.org
访问
https://github.com/siyuan-note/siyuan/commit/b2274baba2e11c8cf8901b0c5c871e5b27f1f6dd x_refsource_MISC
cve.org
访问
https://github.com/siyuan-note/siyuan/commit/f8f4b517077b92c90c0d7b51ac11be1b34b273ad x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
HIGH
8.3
CVSS向量: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
机密性
HIGH
完整性
NONE
可用性
NONE
后续系统影响 (Subsequent):
机密性
HIGH
完整性
NONE
可用性
NONE
时间信息
发布时间:
2026-01-19 19:57:29
修改时间:
2026-01-19 19:57:29
创建时间:
2026-01-20 03:10:36
更新时间:
2026-01-27 06:00:17
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-23851 2026-01-20 02:19:58 2026-01-19 19:10:36
NVD nvd_CVE-2026-23851 2026-01-20 03:00:05 2026-01-19 19:10:38
CNNVD cnnvd_CNNVD-202601-2994 2026-01-26 02:10:02 2026-01-25 18:11:52
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2026-01-26 02:11:52
vulnerability_type: 未提取 → 路径遍历; cnnvd_id: 未提取 → CNNVD-202601-2994; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 路径遍历
  • cnnvd_id: 未提取 -> CNNVD-202601-2994
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2026-01-20 03:10:38
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']