SiYuan admin credential leak via world-readable conf.json
Affects SiYuan 3.8.8 before 3.8.10 using the default ~/SiYuan workspace where the home directory is traversable by other local accounts. Fixed in 3.8.10.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.8.10
- Who is exposed
- Specific setups only
Summary
Written by a model
SiYuan 3.8.8 before 3.8.10 contains an incorrect permission assignment vulnerability that creates workspace directories with mode 0755 and conf.json with mode 0644, exposing the cleartext AccessAuthCode administrator credential. Local users able to traverse the SiYuan user's home path can read it and authenticate as administrator via Basic authentication, for example calling /api/system/setAPIToken to change the API token.
Who should check
Teams running the SiYuan note app 3.8.8 on Linux or other POSIX systems with a shared local OS account, such as multi-user workstations, where the default ~/SiYuan workspace is used.
“SiYuan 3.8.8 before 3.8.10 contains an incorrect permission assignment vulnerability”
What to do
Check whether your setup matches what the bug needs.
SiYuan 3.8.8 workspace created with default ~/SiYuan path; conf.json written with mode 0644 under a traversable home directory. Home directory of the SiYuan user must be traversable by other local accounts (a 0700 home blocks the attack).Upgrade to a fixed version: 3.8.10.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-137474 (SiYuan 3.8.8 before 3.8.10 World-Readable conf.json Exposes Administrator AccessAuthCode), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-137474 (entry last updated 2026-11-26):
Affected:
- npm package SiYuan: from 3.8.8, fixed in 3.8.10
Fixed versions: 3.8.10.
Conditions (all must be true for the bug to be hit):
- SiYuan 3.8.8 workspace created with default ~/SiYuan path; conf.json written with mode 0644 under a traversable home directory. (source: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4mwh-6232-9frp)
- Home directory of the SiYuan user must be traversable by other local accounts (a 0700 home blocks the attack). (source: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4mwh-6232-9frp)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-137474 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-137474 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4mwh-6232-9frp
- https://github.com/siyuan-note/siyuan/commit/28b23ac3d12e27de850916672db36a6e72651c11
- https://www.vulncheck.com/advisories/siyuan-3.8.8-before-3.8.10-world-readable-conf-json-exposes-administrator-accessauthcode
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-137474
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-137474"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach10/20Affects npm packages
- Severity8.4/10CVSS 8.4
- No patch0/5No signal
What would change the score
- Would score about 73 if added to CISA KEV
- Would score about 68 if CISA's SSVC rates exploitation active
- Would score about 33 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
Evidence 5
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · siyuan-note/siyuan · Advisory GHSA-4mwh-6232-9frp |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-137474 |
| Record | NVD · CVE-2026-137474 |
| Other links 2 | |
| Patch | GitHub · siyuan-note/siyuan · Commit 28b23ac3 |
| Link | vulncheck.com · advisories/siyuan-3.8.8-before-3.8.10-world-readable-conf-json-exposes-administrator-accessauthcode |
Questions about CVE-2026-137474
Is CVE-2026-137474 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A separate local OS account can read the AccessAuthCode from the cleartext conf.json file, log in as administrator, and change the API token. Administrator access can then reach private workspace data and settings.
Source: github.com
Which versions are affected by CVE-2026-137474?
SiYuan (npm): from 3.8.8 before 3.8.10.
Source: cve.now feed data
Am I affected, and how do I check?
The issue involves SiYuan 3.8.8 before 3.8.10, where the default ~/SiYuan workspace writes conf.json with mode 0644 under a home directory that other local accounts can traverse. A home directory restricted to 0700 blocks the attack. To check, look at the permissions of the home directory and of conf.json.
Source: github.com
How do I fix CVE-2026-137474?
Upgrade to SiYuan 3.8.10 or later, which is the fixed version listed for this vulnerability.
Source: github.com
Related
- CVE-2026-130680SiYuan 3.3.0 before 3.8.10 Stored XSS to RCE via AttributeView Checkbox Column
- CVE-2026-134246SiYuan 3.6.0 before 3.6.2 and 3.7.3 before 3.8.10 Missing Authorization in getDOMText Exposes Cached OCR Text
- CVE-2026-126266SiYuan from 3.6.0 before 3.8.9 Publish-Password Bypass via getDoc Regex Keywords
- CVE-2026-134244SiYuan 3.8.0 before 3.8.10 LAN Sync Metadata Disclosure Before Peer Authentication
- CVE-2026-130682SiYuan before 3.8.10 Stored XSS to RCE via Table Caption
- CVE-2026-130681SiYuan before 3.8.10 Stored XSS to RCE via Attribute View Name
No corrections so far. Something wrong on this page? Report an error.