high8.6
CVE-2026-72793
SiYuan: Non-administrator responses from /api/system/getConf omit three secrets that the configuration-export path explicitly strips, disclosing the session-cookie signing key and the OS username to anonymous readers
Impact
SiYuan versions before v3.7.4 fail to mask sensitive configuration fields in the /api/system/getConf endpoint, allowing anonymous or publish-reader users to obtain the session-cookie signing key, OS username via pandoc path, and encrypted-notebook key material. Attackers can forge and tamper with session cookies to impersonate users, and on instances without access-auth codes configured, escalate to administrator privileges.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/siyuan-note/siyuan/kernel | < 0.0.0-20260725132049-2d8b98395a91 | 0.0.0-20260725132049-2d8b98395a91 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-h4v5-crx2-3cv4
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h4v5-crx2-3cv4
- https://nvd.nist.gov/vuln/detail/CVE-2026-72793
- https://github.com/siyuan-note/siyuan/commit/2d8b98395a910251aea87e90a4fad9c7f954befe
- https://www.vulncheck.com/advisories/siyuan-before-information-disclosure-via-api-system-getconf