CVE-2026-137474: SiYuan 3.8.8 before 3.8.10 World-Readable conf.json Exposes Administrator AccessAuthCode
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
A local user who can traverse the SiYuan user's home-directory path can read the world-readable conf.json file. They can then obtain the cleartext AccessAuthCode and authenticate as an administrator.
What access does an attacker need before exploitation?
The attacker needs local access and permission to traverse the path to the SiYuan workspace directory. No user interaction is required.
What can an attacker do with the exposed credential?
The AccessAuthCode can be used for administrator Basic authentication. For example, an attacker can call /api/system/setAPIToken to replace the API token.
Are default file permissions affected?
Affected versions create workspace directories with mode 0755 and conf.json with mode 0644. These permissions allow other local users to read conf.json if they can traverse the SiYuan user's home path.