Skip to content
Medium 5.8

Authorization Flaw in SiYuan

CVE-2026-73049 First seen on SecPulse

Summary

Vulnerability in SiYuan (CVE-2026-73049). Risk of unauthorized operations or information disclosure.

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-73049 has been found in SiYuan.
Risk of unauthorized operations or information disclosure. CVSS score: 5.8/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "SiYuan CVE-2026-73049" on the vendor's site.

CVE-2026-73049 (SiYuan) — CWE-863 / CVSS v3 5.8
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

Incorrect authorization (CWE-863) exists in SiYuan.

Affected scope

Check the vendor advisory for the affected versions of SiYuan.

Severity

Severity: Medium (CVSS 5.8/10). Risk of unauthorized operations or information disclosure.

How to fix

Update to the patched release per vendor advisory.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'SiYuan' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'SiYuan' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で SiYuan を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
gogithub.com/siyuan-note/siyuan/kernel
< 0.0.0-20260730150429-5b42614311b0→ 0.0.0-20260730150429-5b42614311b0
Original description The description as published by the source.

Summary

/api/av/getAttributeViewBacklinks filters its results for reader roles through FilterAttributeViewBacklinksByPublishAccess. That function resolves its ignore list with GetDisablePublishAccess, which covers only the forbidden tier. Documents at the hidden tier are absent from that list, so they pass the check.

The result is that an anonymous reader supplying a publicly visible database row receives the database name, row title and document path of rows in hidden documents that reference it.

The rest of the function is correct. It takes *gin.Context and calls GetPathPasswordByPublishAccess and CheckPublishAuthCookie at all four decision points, so the password-protected and private tiers are properly enforced. The defect is the choice of list, on one line.

Details

Route, kernel/api/router.go:545 on the development branch and :527 on master:

ginServer.Handle("POST", "/api/av/getAttributeViewBacklinks", model.CheckAuth, getAttributeViewBacklinks)

CheckAuth only. No CheckAdminRole, no CheckReadonly.

The defect. In FilterAttributeViewBacklinksByPublishAccess (kernel/model/publish_access.go:1060 on dev, :435 on master):

publishIgnore := GetDisablePublishAccess(publishAccess)

GetDisablePublishAccess returns only entries at the forbidden tier. A hidden document has visible:false, password:"", disable:false, so it does not appear in that list. CheckPathAccessableByPublishIgnore therefore returns…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details