SiYuan's publish-mode attribute-view backlinks endpoint checks the wrong access list, so an anonymous visitor can learn the database name, row title and document path of documents the author marked as hidden. It is a confidentiality-only issue (CVSS 5.8, CWE-863) with no document body exposed, and it only matters if you run SiYuan in publish mode and rely on the hidden tier to keep document titles private. Exploitation is trivial, since the attacker needs only a public row ID taken from the page DOM, but there is no public exploit, no Nuclei template, no KEV listing, and EPSS is low at 0.00325 (76th percentile). The package has 516 dependents, 80 other CVEs and an OpenSSF score of 6.8, so exposure is real but narrow. Update to the fixed kernel build (v3.7.4-alpha.4, commit 5b42614) and treat any sensitive titles in hidden documents as potentially already disclosed.
What is the risk?
Medium-to-low overall. Exploitation is trivial: one unauthenticated POST with a public avID and itemID, and no user interaction. Impact is limited to metadata (database names, row titles, document paths) and no content, integrity or availability is affected. EPSS is low, there is no public exploit and it is not in KEV. The risk rises where document titles are themselves sensitive, such as project names, client names or incident titles. The AI/ML relevance is indirect, since SiYuan is a personal knowledge management tool that is increasingly used with AI assistants and as a note source for them.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Panel | go | < 0.0.0-20260730150429-5b42614311b0 | 0.0.0-20260730150429-5b42614311b0 |
Do you use Panel? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step1) Upgrade the SiYuan kernel to v3.7.4-alpha.4 or later (Go module version 0.0.0-20260730150429-5b42614311b0 or later). 2) Until patched, move sensitive documents from the hidden tier to the forbidden (disable) or password-protected tier, or disable publish mode on internet-facing instances. 3) Restrict access to the publish service with a reverse proxy, VPN or IP allow-list. 4) Review web logs for unauthenticated POSTs to /api/av/getAttributeViewBacklinks, especially repeated requests with varied itemIDs. 5) Review document and database titles in hidden documents and rename anything sensitive.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-73049?
SiYuan's publish-mode attribute-view backlinks endpoint checks the wrong access list, so an anonymous visitor can learn the database name, row title and document path of documents the author marked as hidden. It is a confidentiality-only issue (CVSS 5.8, CWE-863) with no document body exposed, and it only matters if you run SiYuan in publish mode and rely on the hidden tier to keep document titles private. Exploitation is trivial, since the attacker needs only a public row ID taken from the page DOM, but there is no public exploit, no Nuclei template, no KEV listing, and EPSS is low at 0.00325 (76th percentile). The package has 516 dependents, 80 other CVEs and an OpenSSF score of 6.8, so exposure is real but narrow. Update to the fixed kernel build (v3.7.4-alpha.4, commit 5b42614) and treat any sensitive titles in hidden documents as potentially already disclosed.
Is CVE-2026-73049 actively exploited?
No confirmed active exploitation of CVE-2026-73049 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-73049?
1) Upgrade the SiYuan kernel to v3.7.4-alpha.4 or later (Go module version 0.0.0-20260730150429-5b42614311b0 or later). 2) Until patched, move sensitive documents from the hidden tier to the forbidden (disable) or password-protected tier, or disable publish mode on internet-facing instances. 3) Restrict access to the publish service with a reverse proxy, VPN or IP allow-list. 4) Review web logs for unauthenticated POSTs to /api/av/getAttributeViewBacklinks, especially repeated requests with varied itemIDs. 5) Review document and database titles in hidden documents and rename anything sensitive.
What systems are affected by CVE-2026-73049?
This vulnerability affects the following AI/ML architecture patterns: Knowledge management platforms, Self-hosted note-taking and publishing servers, AI assistant knowledge sources.
What is the CVSS score for CVE-2026-73049?
CVE-2026-73049 has a CVSS v3.1 base score of 5.8 (MEDIUM). The EPSS exploitation probability is 0.33%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0036Data from Information RepositoriesAML.T0049Exploit Public-Facing ApplicationCompliance Controls Affected
What are the technical details?
Original Advisory
### 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: ```go 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): ```go 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 in B | | Forbidden (`disable:true`) | `total:0` | | Private (password set) | `total:0` | | Hidden again (restored) | `total:1`, reproducible | The forbidden row confirms that the disable list is what the filter consults. The private row confirms that the password half works correctly. The gap is the hidden tier alone. ``` POST /api/av/getAttributeViewBacklinks {"avID":"<public database id>","itemID":"<public row id>"} → 200, total:1, disclosing the database name, row title and document path of a document the same session cannot list ``` ### Impact An anonymous reader in publish mode, or any publish `RoleReader`, discovers that a hidden document contains a database row referencing a public one, and receives that row's title, its database's name, and the containing document's path. Names and titles are author-written and routinely describe their subject, so this discloses both the existence and the topic of documents the author marked as not publicly visible. The reader does not need to know anything about the hidden document beforehand. The only input is a public row identifier taken from a page they are already entitled to view. Confidentiality only, with no integrity or availability impact. No document body content is returned. ### Suggested fix Change the list resolution in `FilterAttributeViewBacklinksByPublishAccess` to `GetInvisiblePublishAccess`, mirroring `FilterPathsByPublishAccess` on the regular backlink path. The password handling in the function is already correct and needs no change.
Exploitation Scenario
An organization publishes a SiYuan workspace as a public knowledge base, with internal documents set to hidden so they are not listed. An anonymous attacker opens a public page, copies the avID and itemID of a database row from the DOM, and POSTs them to /api/av/getAttributeViewBacklinks without credentials. The response returns the database name, row title and document path of hidden documents that reference the row, for example project codenames or customer names. The attacker repeats this across public rows to map the hidden content and uses the titles for targeted phishing, social engineering or further reconnaissance.
Weaknesses (CWE)
CWE-863 — Incorrect Authorization: The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
- [Architecture and Design] Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
- [Architecture and Design] Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NReferences
- github.com/advisories/GHSA-p4qw-vx5p-g984
- github.com/siyuan-note/siyuan/commit/5b42614311b0afda29ccc65e55d74bf3e8cc9054
- github.com/siyuan-note/siyuan/releases/tag/v3.7.4-alpha.4
- github.com/siyuan-note/siyuan/security/advisories/GHSA-p4qw-vx5p-g984
- nvd.nist.gov/vuln/detail/CVE-2026-73049
- vulncheck.com/advisories/siyuan-before-information-disclosure-via-getattributeviewbacklinks
Timeline
Related Vulnerabilities
CVE-2024-1315210.0Mobuy Panel: SQLi allows unauthenticated DB takeover
Same package: panelCVE-2026-528559.9Pterodactyl Wings: egg template leaks daemon secrets
Same package: panelCVE-2026-541589.9SiYuan: XSS→RCE via workspace sync in Electron app
Same package: panelCVE-2026-477449.9Shopper: RBAC bypass allows full admin takeover
Same package: panelCVE-2026-556349.9Pimcore: DataObject field-name injection → RCE
Same package: panel