CVE-2026-72794

siyuan before v3.7.4 Session Cookie Key Disclosure via getConf

Published Aug 12, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows unauthenticated users to call the /api/system/getConf endpoint when Siyuan is running in publish mode, resulting in the disclosure of the session cookie signing key. An attacker who obtains this key can create forged session cookies, thereby impersonating any user or gaining administrative privileges.

Affected Systems

The vendor is Siyuan-Note and the product Siyuan. All versions before 3.7.4 are affected, including any prior builds that are running with publish mode enabled.

Risk and Exploitability

The CVSS base score of 9.2 indicates a severe vulnerability. No EPSS score is available, and it is not listed in the CISA KEV catalog. The endpoint is accessible over the network, so the likely attack vector is network-based. Because the secret key is exposed, an adversary can forge session cookies and bypass authentication, potentially compromising user accounts and administrative functions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy Siyuan v3.7.4 or a later release that removes the key disclosure from the getConf endpoint.
  • Restrict or disable the /api/system/getConf endpoint and limit publish mode to authorized users only.
  • Verify that the system is no longer operating in publish mode or that publish mode is configured to prevent unauthenticated access to configuration endpoints.

Generated by OpenCVE AI on August 12, 2026 at 23:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-34fj-mwm6-fjfg SiYuan: The session-cookie signing key (Conf.CookieKey) is returned to anonymous readers by /api/system/getConf
History
Type Values Removed Values Added
First Time appeared B3log
B3log siyuan
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title siyuan before v3.7.4 Session Cookie Key Disclosure via getConf
Weaknesses CWE-522
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:52 PM
Reserved
Aug 10, 2026, 3:11 PM
Status
Deferred
Published
Aug 12, 2026, 8:17 PM
Modified
Oct 24, 2026, 3:10 PM