Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2026-72793

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

September 4, 2026

/api/system/getConf is registered with CheckAuth only and is reachable by the publish RoleReader token, and anonymously when Publish.Auth.Enable is false. Its non-administrator masking chain is a blocklist that enumerates fields individually. Three fields that the configuration-export endpoint in the same file deliberately clears are absent from that blocklist and are returned to readers:

FieldJSONWhat it isCleared by exportConf at
Conf.CookieKeycookieKeyThe session-cookie signing keykernel/api/system.go:360
Conf.Export.PandocBinexport.pandocBinAbsolute path embedding the OS usernamekernel/api/system.go:338
Conf.NotebookCryptonotebookCryptoEncrypted-notebook key materialkernel/api/system.go:360

The project has already classified all three as values that must not leave the server. The reader-facing path returns them.

References

  • github.com/advisories/GHSA-h4v5-crx2-3cv4
  • github.com/siyuan-note/siyuan/commit/2d8b98395a910251aea87e90a4fad9c7f954befe
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-h4v5-crx2-3cv4
  • nvd.nist.gov/vuln/detail/CVE-2026-72793
  • www.vulncheck.com/advisories/siyuan-before-information-disclosure-via-api-system-getconf

Code Behaviors & Features

Detect and mitigate CVE-2026-72793 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.0-20260725132049-2d8b98395a91

Fixed versions

  • 0.0.0-20260725132049-2d8b98395a91

Solution

Upgrade to version 0.0.0-20260725132049-2d8b98395a91 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-522: Insufficiently Protected Credentials

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2026-72793.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:09 +0000.