CVE-2026-72793

SiYuan before v3.7.4 Information Disclosure via /api/system/getConf

Published Aug 12, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
Description
SiYuan versions before v3.7.4 fail to mask sensitive configuration fields in the /api/system/getConf endpoint, allowing anonymous or publish-reader users to obtain the session-cookie signing key, OS username via pandoc path, and encrypted-notebook key material. Attackers can forge and tamper with session cookies to impersonate users, and on instances without access-auth codes configured, escalate to administrator privileges.

Analysis

AI-generated

Technical impact

The vulnerability resides in the /api/system/getConf endpoint of SiYuan. The endpoint fails to mask sensitive configuration values, allowing an attacker to read the session cookie signing key, the OS username, and encrypted notebook key material. This exposure permits an attacker to forge session cookies, impersonate legitimate users, and on instances lacking access-auth codes, elevate privileges to administrative level. The weakness is a sensitive data exposure (CWE-522).

Affected Systems

SiYuan Note, versions prior to 3.7.4, is affected. The flaw impacts any instance where the /api/system/getConf endpoint is exposed to anonymous or publish‑reader users.

Risk and Exploitability

The CVSS base score of 9.2 indicates a high severity. The EPSS score is unavailable, but the vulnerability is not listed in the CISA KEV catalog and no public exploits are documented. The attack requires network access to the instance and the ability to issue a GET request to the /api/system/getConf endpoint. Once the sensitive configuration data is retrieved, an attacker can forge authenticated sessions and, if no access‑auth code is set, assume administrative control. The exploit path is straightforward for anyone with network connectivity to the target.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch to upgrade to SiYuan version 3.7.4 or newer.
  • Configure the application to require authentication for the /api/system/getConf endpoint or disable access for anonymous and publish‑reader users.
  • Enable or configure an access‑auth code to prevent privilege escalation when sensitive configuration is exposed.

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-h4v5-crx2-3cv4 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
History
Type Values Removed Values Added
Metrics ssvc

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

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
Description SiYuan versions before v3.7.4 fail to mask sensitive configuration fields in the /api/system/getConf endpoint, allowing anonymous or publish-reader users to obtain the session-cookie signing key, OS username via pandoc path, and encrypted-notebook key material. Attackers can forge and tamper with session cookies to impersonate users, and on instances without access-auth codes configured, escalate to administrator privileges.
Title SiYuan before v3.7.4 Information Disclosure via /api/system/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, 10:01 PM
Reserved
Aug 10, 2026, 3:11 PM
Status
Deferred
Published
Aug 12, 2026, 8:17 PM
Modified
Oct 24, 2026, 3:10 PM