CVE-2026-73049
SiYuan before v3.7.4 Information Disclosure via getAttributeViewBacklinks
SiYuan versions before v3.7.4 contain an information disclosure vulnerability in the getAttributeViewBacklinks endpoint that consults the forbidden access list instead of the visibility list when filtering backlinks. Anonymous readers can supply a publicly visible database row identifier to discover hidden-tier documents that reference it, receiving the database name, row title, and document path of hidden documents.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.9
SiYuan before v3.7.4 Information Disclosure via getAttributeViewBacklinks
SiYuan versions before v3.7.4 contain an information disclosure vulnerability in the getAttributeViewBacklinks endpoint that consults the forbidden access list instead of the visibility list when filtering backlinks. Anonymous readers can supply a publicly visible database row identifier to discover hidden-tier documents that reference it, receiving the database name, row title, and document path of hidden documents.
- Record
CVE-2026-73049- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N - CVSS 3.1
- 5.8 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2026-58618
6.9
SiYuan versions before v3.7.4 contain an information disclosure vulnerability in the getAttributeViewBacklinks endpoint that consults the forbidden access list instead of the visibility list when filtering backlinks. Anonymous readers can supply a publicly visible database row identifier to discover hidden-tier documents that reference it, receiving the database name, row title, and document path of hidden documents.
- Record
EUVD-2026-58618- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-6xvp-3rfv-g2g2
6.9
Duplicate Advisory: SiYuan: The publish filter for database backlinks consults the forbidden list instead of the visibility list, disclosing hidden-tier documents to anonymous readers
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-p4qw-vx5p-g984. This link is maintained to preserve external references.
Original Description
SiYuan versions before v3.7.4 contain an information disclosure vulnerability in the getAttributeViewBacklinks endpoint that consults the forbidden access list instead of the visibility list when filtering backlinks. Anonymous readers can supply a publicly visible database row identifier to discover hidden-tier documents that reference it, receiving the database name, row title, and document path of hidden documents.
- Record
GHSA-6xvp-3rfv-g2g2- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.8 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-p4qw-vx5p-g984
5.8
SiYuan: The publish filter for database backlinks consults the forbidden list instead of the visibility list, disclosing hidden-tier documents to anonymous readers
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 true for it, and because the password is empty the authentication branch short-circuits. Hidden documents pass both halves of the check.
The sibling filter uses the correct list. The regular backlink panel is the same product feature in the same UI, and it is gated properly. kernel/api/ref.go:170 getBacklink2 calls FilterPathsByPublishAccess, which at kernel/model/publish_access.go:1256 resolves its list with GetInvisiblePublishAccess. Two backlink filters in the same file, opposite list choices.
The distinction the tiers are meant to draw. The shipped description of the hidden tier, from app/appearance/langs/en.json:
publishAccessHiddenComment = "Not publicly visible, can be accessed directly."
A direct-access endpoint using the forbidden list is consistent with that: hidden documents are meant to be reachable when the caller already knows the identifier. Backlink discovery is not direct access. The caller supplies the target row and receives the identities of referring rows it never named, which is enumeration, and enumeration is precisely what "not publicly visible" excludes.
Origin. The filter was introduced by 6da2c736e (2026-07-18, "Show database relation backlinks in the attribute panel", #10599) with this list choice from the start. No security-focused commit has touched the attribute-view backlink path since.
What is returned. Per matched backlink: AvName (the database name), Title (the row title), DatabasePath (the HPath of the containing document), BoxID, DatabaseBlockID, and Relations[].KeyName. These are author-written names and titles, not opaque identifiers.
Proof of Concept
Publish mode enabled, Publish.Auth.Enable false, anonymous client with no credentials or cookies. Document A is public and holds a database with a row. Document B is set to varying tiers and holds a database whose relation field points at A's row. The attacker needs only A's avID and itemID, both present in the DOM of A's own published page.
Listing control first, establishing that the platform agrees B must not be listed:
POST /api/filetree/listDocsByPath
→ returns only the public document
Then the same backlinks request at four tier settings, spaced to clear the 30-second GetPublishAccess() cache:
| Tier of document B | Result |
|---|---|
| Hidden (visible:false, no password, disable:false) | total:1, with avName, title, databasePath and relations[].keyName for the row…
- Record
GHSA-p4qw-vx5p-g984- CVSS 3.1
- 5.8 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
NVD
6.9
SiYuan versions before v3.7.4 contain an information disclosure vulnerability in the getAttributeViewBacklinks endpoint that consults the forbidden access list instead of the visibility list when filtering backlinks. Anonymous readers can supply a publicly visible database row identifier to discover hidden-tier documents that reference it, receiving the database name, row title, and document path of hidden documents.
- Record
CVE-2026-73049- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.8 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
OSVGHSA-6xvp-3rfv-g2g2
6.9
Duplicate Advisory: SiYuan: The publish filter for database backlinks consults the forbidden list instead of the visibility list, disclosing hidden-tier documents to anonymous readers
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-p4qw-vx5p-g984. This link is maintained to preserve external references.
Original Description
SiYuan versions before v3.7.4 contain an information disclosure vulnerability in the getAttributeViewBacklinks endpoint that consults the forbidden access list instead of the visibility list when filtering backlinks. Anonymous readers can supply a publicly visible database row identifier to discover hidden-tier documents that reference it, receiving the database name, row title, and document path of hidden documents.
- Record
GHSA-6xvp-3rfv-g2g2- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.8 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
OSVGHSA-p4qw-vx5p-g984
5.8
SiYuan: The publish filter for database backlinks consults the forbidden list instead of the visibility list, disclosing hidden-tier documents to anonymous readers
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 true for it, and because the password is empty the authentication branch short-circuits. Hidden documents pass both halves of the check.
The sibling filter uses the correct list. The regular backlink panel is the same product feature in the same UI, and it is gated properly. kernel/api/ref.go:170 getBacklink2 calls FilterPathsByPublishAccess, which at kernel/model/publish_access.go:1256 resolves its list with GetInvisiblePublishAccess. Two backlink filters in the same file, opposite list choices.
The distinction the tiers are meant to draw. The shipped description of the hidden tier, from app/appearance/langs/en.json:
publishAccessHiddenComment = "Not publicly visible, can be accessed directly."
A direct-access endpoint using the forbidden list is consistent with that: hidden documents are meant to be reachable when the caller already knows the identifier. Backlink discovery is not direct access. The caller supplies the target row and receives the identities of referring rows it never named, which is enumeration, and enumeration is precisely what "not publicly visible" excludes.
Origin. The filter was introduced by 6da2c736e (2026-07-18, "Show database relation backlinks in the attribute panel", #10599) with this list choice from the start. No security-focused commit has touched the attribute-view backlink path since.
What is returned. Per matched backlink: AvName (the database name), Title (the row title), DatabasePath (the HPath of the containing document), BoxID, DatabaseBlockID, and Relations[].KeyName. These are author-written names and titles, not opaque identifiers.
Proof of Concept
Publish mode enabled, Publish.Auth.Enable false, anonymous client with no credentials or cookies. Document A is public and holds a database with a row. Document B is set to varying tiers and holds a database whose relation field points at A's row. The attacker needs only A's avID and itemID, both present in the DOM of A's own published page.
Listing control first, establishing that the platform agrees B must not be listed:
POST /api/filetree/listDocsByPath
→ returns only the public document
Then the same backlinks request at four tier settings, spaced to clear the 30-second GetPublishAccess() cache:
| Tier of document B | Result |
|---|---|
| Hidden (visible:false, no password, disable:false) | total:1, with avName, title, databasePath and relations[].keyName for the row…
- Record
GHSA-p4qw-vx5p-g984- CVSS 3.1
- 5.8 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-06
OSVGO-2026-6833 No score
SiYuan: The publish filter for database backlinks consults the forbidden list instead of the visibility list, disclosing hidden-tier documents to anonymous readers in github.com/siyuan-note/siyuan/kernel
SiYuan: The publish filter for database backlinks consults the forbidden list instead of the visibility list, disclosing hidden-tier documents to anonymous readers in github.com/siyuan-note/siyuan/kernel
- Record
GO-2026-6833- Updated
- 2026-11-06
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/siyuan-note/siyuan/kernelGo |
before 0.0.0-20260730150429-5b42614311b0 | 0.0.0-20260730150429-5b42614311b0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, facts, references | OSV | |
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-73049 is a medium vulnerability (CVSS 6.9) in Siyuan-note Siyuan, published August 14, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 25th percentile. Fixed in github.com/siyuan-note/siyuan/kernel 0.0.0-20260730150429-5b42614311b0.
References
github.com/siyuan-note/siyuan/security/advisories/GHSA-p4qw-vx5p-g984
vulncheck.com/advisories/siyuan-before-information-disclosure-via-getattributeviewbacklinks
nvd.nist.gov/vuln/detail/CVE-2026-73049
github.com/advisories/GHSA-6xvp-3rfv-g2g2
github.com/siyuan-note/siyuan/commit/5b42614311b0afda29ccc65e55d74bf3e8cc9054
github.com/siyuan-note/siyuan/releases/tag/v3.7.4-alpha.4
github.com/advisories/GHSA-p4qw-vx5p-g984
github.com/siyuan-note/siyuan
Left out here: the rest of 2 source descriptions. The JSON record has them.