Quick answers
- Is CVE-2026-72812 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-72812 being exploited in the wild.
- How severe is CVE-2026-72812?
- Medium severity, with a CVSS score of 6.5, published 3 September 2026.
- Which products and versions are affected?
- github.com/siyuan-note/siyuan/kernel (Go) < 0.0.0-20260723002528-7d273c271ce1, SEMVER:introduced=0,fixed=0.0.0-20260723002528-7d273c271ce1.
- Is there a fix for CVE-2026-72812?
- Yes. github.com/siyuan-note/siyuan/kernel (Go): upgrade to 0.0.0-20260723002528-7d273c271ce1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-72812 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2026-72812?
- Check whether you run github.com/siyuan-note/siyuan/kernel (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- github.com/siyuan-note/siyuan/kernel (Go): upgrade to 0.0.0-20260723002528-7d273c271ce1 or later
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260723002528-7d273c271ce1
Technical details
The `/api/ref/refreshBacklink` endpoint is a POST handler that lacks proper authorization guards. Unlike similar mutating endpoints that enforce `CheckAdminRole`, `CheckReadonly`, or inline `IsReadOnlyRoleContext` checks, this endpoint only requires `CheckAuth`, which admits reader-role users and anonymous accounts when publish mode authentication is disabled. When called, the handler invokes `model.RefreshBacklink(id)`, which executes a full write chain: flushing the transaction queue, performing global reference scans, loading and parsing trees from disk, and enqueuing database writes. The endpoint does not honor the global `util.ReadOnly` flag and accepts attacker-controlled block IDs without per-object publish-access validation, allowing readers to reindex documents outside their scope. This is reachable over the network with no authentication required in default publish configurations.
Affected products
- SiYuan SiYuan before 0.0.0-20260723002528-7d273c271ce1
Identifiers
- CVE-2026-72812
- GHSA-wgwx-479j-23vq
- GO-2026-6408
Timeline
- 2026-07-23: disclosed: Initially published to GitHub Advisory Database
- 2026-09-03: advisory: Advisory updated with full details
- 2026-07-23: patched: Patched in commit 7d273c271ce1