siyuan versions before v3.7.4 expose the session cookie signing key through the /api/system/getConf endpoint to unauthenticated users in publish mode. Attackers can retrieve the CookieKey value and forge valid session cookies to impersonate users or gain administrative access.
id: GO-ID-PENDING
modules:
- module: github.com/siyuan-note/siyuan/kernel
vulnerable_at: 0.0.0-20260830025221-44a6c212a994
summary: |-
Duplicate Advisory: The session-cookie signing key (Conf.CookieKey) is returned
to anonymous readers by /api/system/getConf in github.com/siyuan-note/siyuan/kernel
ghsas:
- GHSA-hg4j-w33m-p7g4
references:
- advisory: https://github.com/advisories/GHSA-hg4j-w33m-p7g4
- web: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-34fj-mwm6-fjfg
- web: https://nvd.nist.gov/vuln/detail/CVE-2026-72794
- web: https://www.vulncheck.com/advisories/siyuan-before-session-cookie-key-disclosure-via-getconf
source:
id: GHSA-hg4j-w33m-p7g4
created: 2026-09-04T22:01:56.445190605Z
review_status: UNREVIEWED
Advisory GHSA-hg4j-w33m-p7g4 references a vulnerability in the following Go modules:
Description:
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-34fj-mwm6-fjfg. This link is maintained to preserve external references.
Original Description
siyuan versions before v3.7.4 expose the session cookie signing key through the /api/system/getConf endpoint to unauthenticated users in publish mode. Attackers can retrieve the CookieKey value and forge valid session cookies to impersonate users or gain administrative access.
References:
Cross references:
See doc/quickstart.md for instructions on how to triage this report.