Skip to main content

Kernel: Duplicate Advisory: The session-cookie signing key (Conf.CookieKey) is returned to anonymous readers by /api/system/getConf

0
Critical
Published: 08/12/2026 (08/12/2026, 21:31:41 UTC)
Source: GCVE Database
Product: github.com/siyuan-note/siyuan/kernel

Description

Siyuan versions up to 3.7.2 expose the session cookie signing key via the /api/system/getConf endpoint to unauthenticated users in publish mode. This exposure allows attackers to retrieve the CookieKey and forge valid session cookies, potentially impersonating users or gaining administrative access. The vulnerability is classified as critical with a CVSS score of 8.6. This advisory is a duplicate of GHSA-34fj-mwm6-fjfg and has been withdrawn to preserve external references.

CVSS v3.1

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Affected software

Goghsa
github.com/siyuan-note/siyuan/kernel
Affected versions
<=3.7.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 10:22:16 UTC

Technical Analysis

In Siyuan versions <=3.7.2, the session cookie signing key (Conf.CookieKey) is exposed through the /api/system/getConf endpoint to anonymous users when the system is in publish mode. This exposure enables attackers to obtain the CookieKey and create forged session cookies, which can be used to impersonate legitimate users or escalate privileges to administrative access. The vulnerability corresponds to CWE-522 (Insufficiently Protected Credentials) and has a critical severity rating with a CVSS 3.1 score of 8.6 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N). No patch links are provided in the data, and this advisory is marked as a duplicate of GHSA-34fj-mwm6-fjfg.

Potential Impact

Attackers can retrieve the session cookie signing key without authentication and forge valid session cookies. This allows impersonation of users and potentially gaining administrative access, leading to a complete compromise of user sessions. The vulnerability does not affect availability or integrity directly but has a high confidentiality impact due to exposure of sensitive credentials.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory GHSA-34fj-mwm6-fjfg for current remediation guidance. Since this advisory is a duplicate and withdrawn, refer to the original advisory for official fixes or mitigations. Until patched, avoid exposing the /api/system/getConf endpoint to unauthenticated users in publish mode or restrict access to trusted users only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-hg4j-w33m-p7g4
Osv Schema Version
1.4.0
Ecosystems
["Go"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6a9c2642acd9273b49fc9b9c

Added to database: 09/05/2026, 14:25:06 UTC

Last enriched: 09/07/2026, 10:22:16 UTC

Last updated: 10/04/2026, 07:02:33 UTC

Views: 54

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses