{"id":"CVE-2026-126264","kind":"vulnerability","aliases":["CVE-2026-126264"],"related":[],"title":"SiYuan: authenticated Reader users can read widget credential files","description":"SiYuan before 3.8.9 contains an information disclosure vulnerability that allows authenticated Reader users to retrieve credential-named widget files by bypassing the sensitive-path guard in getFile. Attackers can request paths like /data/widgets/<package>/credentials.json for publish-referenced widgets to obtain API keys, tokens, or other stored secrets.","summary":"SiYuan before 3.8.9 lets an authenticated user with the Reader role fetch credential-named widget files, such as credentials.json, by getting around the sensitive-path check in getFile. An attacker can collect API keys, tokens, and other stored secrets from those files.","severity":"high","cvss":8.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","self-hosted","siyuan","widgets"],"not_affected_if":["no-reader-accounts","single-user","version-3.8.9-or-later"],"how_to_check":"- Check the SiYuan version in use; affected if it is below `3.8.9`.\n- Check whether any user accounts hold the Reader role and whether publish-referenced widgets store credentials.json files under the data/widgets directory.","fix":"- SiYuan: upgrade to `3.8.9` or later.","status":"open","published_at":"2026-11-13T10:17:28+00:00","first_seen_at":"2026-11-13T10:47:11+00:00","triaged_at":"2026-11-13T10:51:14+00:00","updated_at":"2026-11-13T10:51:14+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-13T10:51:14Z","model":"claude-haiku-5-5","output":{"fix":"- SiYuan: upgrade to `3.8.9` or later.","reach":"network","title":"SiYuan: authenticated Reader users can read widget credential files","impact":"high","summary":"SiYuan before 3.8.9 lets an authenticated user with the Reader role fetch credential-named widget files, such as credentials.json, by getting around the sensitive-path check in getFile. An attacker can collect API keys, tokens, and other stored secrets from those files.","audience":"developers","category":"package","nicknames":[],"who_cares":["siyuan","self-hosted","widgets"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"Reader account reads stored API keys and tokens from widget files","analyst_note":"","how_to_check":"- Check the SiYuan version in use; affected if it is below `3.8.9`.\n- Check whether any user accounts hold the Reader role and whether publish-referenced widgets store credentials.json files under the data/widgets directory.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["single-user","no-reader-accounts","version-3.8.9-or-later"],"who_is_affected":"Teams that self-host SiYuan with multiple users, where some accounts have the Reader role and widgets store credentials in credentials.json files. Single-user installs with no Reader accounts have a much smaller exposure.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000719,"input_tokens":4629,"output_tokens":513,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-126264':12A,15A '-2026':11A,14A '/credentials.json':101C '/data/widgets':100C '3.8.9':24B,68C 'allow':75C 'api':56B,109C 'around':44B 'attack':53B,95C 'authent':2A,27B,76C 'bypass':87C 'check':49B 'collect':55B 'contain':69C 'credenti':8A,35B,82C 'credential-nam':34B,81C 'credentials.json':41B 'cve':10A,13A 'disclosur':72C 'fetch':33B 'file':9A,38B,65B,85C 'get':43B 'getfil':51B,94C 'guard':92C 'host':19B 'inform':71C 'key':57B,110C 'let':25B 'like':99C 'name':36B,83C 'obtain':108C 'packag':16B 'path':48B,91C,98C 'publish':104C 'publish-referenc':103C 'read':6A 'reader':3A,31B,77C 'referenc':105C 'request':97C 'retriev':80C 'role':32B 'secret':62B,115C 'self':18B 'self-host':17B 'sensit':47B,90C 'sensitive-path':46B,89C 'siyuan':1A,20B,22B,66C 'store':61B,114C 'token':58B,111C 'user':4A,28B,78C 'vulner':73C 'widget':7A,21B,37B,84C,106C","nicknames":[],"mitigations":[],"who_affected":"Teams that self-host SiYuan with multiple users, where some accounts have the Reader role and widgets store credentials in credentials.json files. Single-user installs with no Reader accounts have a much smaller exposure.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["high","package","selfhosted","siyuan","widgets"],"campaign_type":null,"search_a":"'-126264':12A,15A '-2026':11A,14A 'authent':2A 'credenti':8A 'cve':10A,13A 'file':9A 'read':6A 'reader':3A 'siyuan':1A 'user':4A 'widget':7A","search_b":"'3.8.9':24B 'api':56B 'around':44B 'attack':53B 'authent':27B 'check':49B 'collect':55B 'credenti':35B 'credential-nam':34B 'credentials.json':41B 'fetch':33B 'file':38B,65B 'get':43B 'getfil':51B 'host':19B 'key':57B 'let':25B 'name':36B 'packag':16B 'path':48B 'reader':31B 'role':32B 'secret':62B 'self':18B 'self-host':17B 'sensit':47B 'sensitive-path':46B 'siyuan':20B,22B 'store':61B 'token':58B 'user':28B 'widget':21B,37B","search_c":"'/credentials.json':101C '/data/widgets':100C '3.8.9':68C 'allow':75C 'api':109C 'attack':95C 'authent':76C 'bypass':87C 'contain':69C 'credenti':82C 'credential-nam':81C 'disclosur':72C 'file':85C 'getfil':94C 'guard':92C 'inform':71C 'key':110C 'like':99C 'name':83C 'obtain':108C 'path':91C,98C 'publish':104C 'publish-referenc':103C 'reader':77C 'referenc':105C 'request':97C 'retriev':80C 'secret':115C 'sensit':90C 'sensitive-path':89C 'siyuan':66C 'store':114C 'token':111C 'user':78C 'vulner':73C 'widget':84C,106C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-10-26T04:38:05+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-126264","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126264","severity":null,"published_at":"2026-11-13T10:17:28+00:00","modified_at":"2026-11-13T10:17:28+00:00","first_seen_at":"2026-11-13T10:47:11+00:00","fetched_at":"2026-11-13T10:47:11+00:00","note":null}],"documents":[{"id":144856,"url":"https://github.com/siyuan-note/siyuan/commit/d122dee55e8d3c77de313d0ad6efae8b6b0ebc07","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":144857,"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3pm7-cc76-7j2p","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-10-26T04:38:05+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":144858,"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.9-sensitive-file-disclosure-via-api-file-getfile","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}