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

Disclosed . Patched: fixed in github.com/siyuan-note/siyuan/kernel 3.6.5. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typepath traversal accessnetworkno user interaction ecosystemGo
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

path traversal
CWE-22, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-hjh7-r5w8-5872
network
AV:N in 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) from the CNA GitHub_M
no user interaction
UI:N in 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) from the CNA GitHub_M
Go
GHSA-hjh7-r5w8-5872: go packages github.com/siyuan-note/siyuan/kernel
stage
PAT
disclosed
cvss
7.1 HIGH v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
04-24T18:56Z
PATpatch
github.com/siyuan-note/siyuan/kernel 3.6.5
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

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 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 7.1, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "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"
  }
}
time unknownsource gave no time
+PATpatch released

The advisory gives fixed version github.com/siyuan-note/siyuan/kernel 3.6.5. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-hjh7-r5w8-5872 · nday , bulk import · raw
{
  "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"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.