nday
CVE-2026-41894 GHSA-hjh7-r5w8-5872

SiYuan: Incomplete Fix Bypass for CVE-2026-30869: Path Traversal via Double URL Encoding in `/export/` Endpoint

siyuan-note / siyuan

披露于 。已有补丁记录,修复版本是 github.com/siyuan-note/siyuan/kernel 3.6.5。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 漏洞类型path traversal 攻击途径网络无需用户交互 软件包生态Go
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

path traversal
CWE-22(来源:编号分配方 GitHub_M、NVD(转录自 [email protected])、GitHub 公告 GHSA-hjh7-r5w8-5872)
网络
编号分配方 GitHub_M 给出的 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N(CVSS 4.0)中的 AV:N
无需用户交互
编号分配方 GitHub_M 给出的 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N(CVSS 4.0)中的 UI:N
Go
GHSA-hjh7-r5w8-5872:go 包 github.com/siyuan-note/siyuan/kernel
当前阶段
PAT
披露
CVSS
7.1 HIGH v4.0

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
04-24T18:56Z
PAT补丁
github.com/siyuan-note/siyuan/kernel 3.6.5
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

SiYuan is an open-source personal knowledge management system. Prior to 3.6.5, the fix for CVE-2026-30869 only added a denylist check (IsSensitivePath) but did not address the root cause — a redundant url.PathUnescape() call in serveExport(). An authenticated attacker can use double URL encoding (%252e%252e) to traverse directories and read arbitrary workspace files including the full SQLite database (siyuan.db), kernel log, and all user documents. This vulnerability is fixed in 3.6.5.

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不需要绕过目标特有的安全防护
攻击前提 AT:N
无:能否成功与目标的部署和运行条件无关
所需权限 PR:L
低:普通用户权限
用户交互 UI:N
无:除攻击者外不需要任何人配合

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS 4.0 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 7.1,高危。CISA 的 SSVC 评估中利用状态为 poc。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 19109,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-41894",
  "occurred_at": "2026-04-24T18:56:54.001Z",
  "observed_at": "2026-11-12T15:03:42.190415Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 7.1,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-04-27T13:43:13.196632Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-04-24T18:56:54.001Z",
    "assigner_short_name": "GitHub_M"
  }
}
时间未知来源未给出时间
+PAT补丁发布

公告给出修复版本 github.com/siyuan-note/siyuan/kernel 3.6.5。公告附有修复提交。公告本身发布于 ,补丁实际发布时间没有记录。

来源 ghsa GHSA-hjh7-r5w8-5872 · 本站 批量导入 · 原始记录
{
  "id": 18980,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-hjh7-r5w8-5872",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-hjh7-r5w8-5872",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 7.1,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      }
    ],
    "ghsa_id": "GHSA-hjh7-r5w8-5872",
    "packages": [
      {
        "name": "github.com/siyuan-note/siyuan/kernel",
        "ecosystem": "go",
        "first_patched_version": "3.6.5",
        "vulnerable_version_range": "< 3.6.5"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hjh7-r5w8-5872",
      "https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7",
      "https://github.com/advisories/GHSA-2h2p-mvfx-868w",
      "https://github.com/siyuan-note/siyuan/releases/tag/v3.6.5",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-41894",
      "https://github.com/advisories/GHSA-hjh7-r5w8-5872"
    ],
    "fix_commit_urls": [
      "https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7"
    ],
    "github_reviewed_at": "2026-04-22T20:51:22Z",
    "advisory_updated_at": "2026-11-09T01:45:34Z",
    "source_code_location": "https://github.com/siyuan-note/siyuan",
    "advisory_published_at": "2026-04-22T20:51:22Z"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。