---
id: "CVE-2026-73606"
kind: "vulnerability"
aliases: ["CVE-2026-73606", "GHSA-vg99-7gj7-2fr5", "GO-2026-6635"]
title: "SiYuan: The reference filter for getRefIDs checks visibility but not the password tier, disclosing that password-protected documents reference a given block in github.com/siyuan-note/siyuan/kernel"
severity: "medium"
cvss: 6.9
epss: 0.00325
exploited: false
status: "open"
category: "package"
products: [{"name": "github.com/siyuan-note/siyuan/kernel", "fixed": ["0.0.0-20260812083335-251596fc0de2"], "affected": "< 0.0.0-20260812083335-251596fc0de2", "ecosystem": "go"}]
ecosystems: ["go"]
tags: ["go", "package", "self-hosted", "siyuan"]
not_affected_if: ["default-config", "managed-hosting"]
published_at: "2026-08-13T12:17:25+00:00"
first_seen_at: "2026-10-23T19:13:08+00:00"
updated_at: "2026-10-23T21:46:00+00:00"
sources: [{"source": "govuln", "url": "https://pkg.go.dev/vuln/GO-2026-6635", "first_seen_at": "2026-10-23T19:13:08+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-73606", "first_seen_at": "2026-10-23T19:13:43+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73606", "first_seen_at": "2026-10-23T19:35:23+00:00"}]
---

# SiYuan: The reference filter for getRefIDs checks visibility but not the password tier, disclosing that password-protected documents reference a given block in github.com/siyuan-note/siyuan/kernel

SiYuan's /api/block/getRefIDs endpoint skips the password check on protected documents, so it reveals which password-protected documents reference a given block. An unauthenticated reader can learn block identifiers and that those documents exist without the document password.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- go:github.com/siyuan-note/siyuan/kernel affected < 0.0.0-20260812083335-251596fc0de2 fixed 0.0.0-20260812083335-251596fc0de2

## How to check

Check the SiYuan version running on the server; versions before v3.7.4 (Go module pseudo-version before 0.0.0-20260812083335-251596fc0de2) are affected.

## Fix

Upgrade SiYuan to v3.7.4 or later (module 0.0.0-20260812083335-251596fc0de2 or newer).

## Timeline

- 2026-10-23T19:13:08+00:00 govuln https://pkg.go.dev/vuln/GO-2026-6635
- 2026-10-23T19:13:43+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-73606
- 2026-10-23T19:35:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-73606

## From the sources

SiYuan versions before v3.7.4 contain an information disclosure vulnerability in the /api/block/getRefIDs endpoint that fails to check password-protected document tiers. Unauthenticated readers can discover that password-protected documents reference specific blocks and obtain block identifiers without entering the document password.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
