---
id: "GHSA-9cqf-hhrq-7v45"
kind: "vulnerability"
aliases: ["GHSA-9cqf-hhrq-7v45", "GO-2026-6632"]
title: "SiYuan: getAttributeViewSearchTarget returns database row content to anonymous readers with no publish-access check, reopening the class closed one day earlier at the adjacent route in github.com/siyuan-note/siyuan/kernel"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "github.com/siyuan-note/siyuan/kernel", "fixed": ["0.0.0-20260812083335-251596fc0de2"], "affected": ">= 0.0.0-20260726161145-9b8e8956f997, < 0.0.0-20260812083335-251596fc0de2", "ecosystem": "go"}]
ecosystems: ["go"]
tags: ["go", "package", "self-hosted", "siyuan"]
not_affected_if: ["fixed-version", "unpublished-instance"]
published_at: "2026-10-07T14:09:59+00:00"
first_seen_at: "2026-10-23T19:13:08+00:00"
updated_at: "2026-10-23T20:20:13+00:00"
sources: [{"source": "govuln", "url": "https://pkg.go.dev/vuln/GO-2026-6632", "first_seen_at": "2026-10-23T19:13:08+00:00"}]
---

# SiYuan: getAttributeViewSearchTarget returns database row content to anonymous readers with no publish-access check, reopening the class closed one day earlier at the adjacent route in github.com/siyuan-note/siyuan/kernel

SiYuan's getAttributeViewSearchTarget endpoint in the kernel Go module returns database row content to anonymous readers because it skips the publish-access check. An unauthenticated visitor of a published SiYuan instance can read database content that should be private.

_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-20260726161145-9b8e8956f997, < 0.0.0-20260812083335-251596fc0de2 fixed 0.0.0-20260812083335-251596fc0de2

## Fix

Update github.com/siyuan-note/siyuan/kernel to version 0.0.0-20260812083335-251596fc0de2 or later.

## Timeline

- 2026-10-23T19:13:08+00:00 govuln https://pkg.go.dev/vuln/GO-2026-6632

## From the sources

SiYuan: getAttributeViewSearchTarget returns database row content to anonymous readers with no publish-access check, reopening the class closed one day earlier at the adjacent route in github.com/siyuan-note/siyuan/kernel

---

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