Skip to main content
Menu
CVEs

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.

CVE-2026-137474Published November 26, 2026, updated

8.4HighCNA
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”

vulncheck.com

What to do

  1. 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).
  2. 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

23Pof 100 · provisional · methodology v3
  • 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

  1. CVE published
  2. First seen by cve.now

Evidence 5

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

No corrections so far. Something wrong on this page? Report an error.