SiYuan: authFilePublishAccess distinguishes hidden and forbidden documents from public and nonexistent ones, and issues a publish-auth cookie for documents it reports as forbidden
CVE-2026-73630
Summary /api/filetree/authFilePublishAccess is registered with CheckAuth only and is reachable anonymously. It never sets a failure code, so its outcome is signalled entirely by the response message and by whether a Set-Cookie header is present. Those two signals differ across access tiers, which lets an anonymous caller determine, for any candidate document identifier, whether that document is public or nonexistent, password-protected, or exists at the hidden or forbidden tier. Separately, hidden and forbidden entries carry an empty password. Submitting password:"" therefore satisfies the equality check for them, and the server responds by issuing Set-Cookie: publish-auth- for a document whose own tier is forbidden. Details Route, identical on both refs: go ginServer.Handle("POST", "/api/filetree/authFilePublishAccess", model.CheckAuth, authFilePublishAccess) No CheckAdminRole, no CheckReadonly. Handler, kernel/api/filetree.go:1608 on the development branch and :1421 on master. ret.Code is never assigned on the failure path, so every response carries code:0. The branch is: go if item.Password == password { // SetPublishAuthCookie } else { ret.Msg = Conf.Language(285) } The cookie…
Assessment
- CVSS
- 5.8 (v3.1)
- Severity
- Medium
- EPSS
- 0.00343% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 23 October 2026
- Last updated
- 23 October 2026
- Affected
- go · github.com/siyuan-note/siyuan/kernel
- Weakness
- CWE-203
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
At the source
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjg-x8qj-33j5
- https://nvd.nist.gov/vuln/detail/CVE-2026-73630
- https://github.com/siyuan-note/siyuan/commit/c7522b8db586ef1e1d6fa98bbe7ca0eb9d019efe
- https://github.com/siyuan-note/siyuan/releases/tag/v3.7.4-alpha.4
- https://www.vulncheck.com/advisories/siyuan-before-information-disclosure-via-authfilepublishaccess
- https://github.com/advisories/GHSA-4pjg-x8qj-33j5
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-73630