The configuration-export endpoint in the same file strips this exact field before returning config, so the project already treats it as secret. The reader-facing masking path does not.
##...
id: GO-ID-PENDING
modules:
- module: github.com/siyuan-note/siyuan/kernel
versions:
- fixed: 0.0.0-20260725123945-77421530be4a
summary: |-
SiYuan: The session-cookie signing key (Conf.CookieKey) is returned to anonymous
readers by /api/system/getConf in github.com/siyuan-note/siyuan/kernel
cves:
- CVE-2026-72794
ghsas:
- GHSA-34fj-mwm6-fjfg
references:
- advisory: https://github.com/advisories/GHSA-34fj-mwm6-fjfg
- advisory: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-34fj-mwm6-fjfg
- advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-72794
- fix: https://github.com/siyuan-note/siyuan/commit/77421530be4ab1f43310d0f50fbab05d16c38675
- web: https://www.vulncheck.com/advisories/siyuan-before-session-cookie-key-disclosure-via-getconf
notes:
- fix: 'github.com/siyuan-note/siyuan/kernel: could not add vulnerable_at: cannot auto-guess when fixed version is 0.0.0 pseudo-version'
source:
id: GHSA-34fj-mwm6-fjfg
created: 2026-09-04T22:01:50.401877229Z
review_status: UNREVIEWED
Advisory GHSA-34fj-mwm6-fjfg references a vulnerability in the following Go modules:
Description:
CVE: This vulnerability corresponds to CVE-2026-72794.
Summary
/api/system/getConfreturnsConf.CookieKey, the key used to sign the server's session cookies in its response body. The endpoint is registered withCheckAuthonly, so the field reaches the publishRoleReadertoken and the anonymous account whenPublish.Auth.Enableisfalse.The configuration-export endpoint in the same file strips this exact field before returning config, so the project already treats it as secret. The reader-facing masking path does not.
##...
References:
Cross references:
See doc/quickstart.md for instructions on how to triage this report.