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

Divulgation : . Version corrigée : github.com/siyuan-note/siyuan/kernel 3.6.5. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

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] et 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
étape actuelle
PAT
divulgation
CVSS
7.1 HIGH v4.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
04-24T18:56Z
PATcorrectif
github.com/siyuan-note/siyuan/kernel 3.6.5
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 7.1, gravité élevée. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+PATcorrectif disponible

L’avis indique la version corrigée github.com/siyuan-note/siyuan/kernel 3.6.5. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-hjh7-r5w8-5872 · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.