{"id":"CVE-2026-118680","kind":"vulnerability","aliases":["CVE-2026-118680"],"related":[],"title":"SiYuan: Windows path alias bypass copies API token and TLS key publicly","description":"SiYuan 3.8.7 through 3.8.8 fails to normalize Windows GLOBALROOT device-namespace aliases, bypassing the IsSensitivePath denylist. Attackers can invoke importStdMd with a GLOBALROOT-prefixed path to copy the API token and TLS private key into the publicly served assets directory.","summary":"SiYuan 3.8.7 through 3.8.8 does not normalize Windows GLOBALROOT device-namespace paths, so its sensitive-path denylist can be bypassed. An attacker who can call importStdMd can copy the API token and TLS private key into the publicly served assets directory.","severity":"medium","cvss":5.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","self-hosted","siyuan","windows"],"not_affected_if":["default-config"],"how_to_check":"- Check the installed SiYuan version in the app's About dialog or package metadata: `3.8.7` through `3.8.8` are affected.\n- On Windows hosts, look for a copy of the API token or TLS private key under the SiYuan assets directory.","fix":"- Upgrade SiYuan to a version later than `3.8.8` (fixed version unknown from the sources).\n- Rotate the SiYuan API token and TLS private key if the host ran an affected version and was reachable.","status":"open","published_at":"2026-10-28T19:17:34+00:00","first_seen_at":"2026-10-28T19:34:55+00:00","triaged_at":"2026-10-28T19:36:09+00:00","updated_at":"2026-10-28T19:36:09+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-28T19:36:09Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade SiYuan to a version later than `3.8.8` (fixed version unknown from the sources).\n- Rotate the SiYuan API token and TLS private key if the host ran an affected version and was reachable.","reach":"unknown","title":"SiYuan: Windows path alias bypass copies API token and TLS key publicly","impact":"medium","summary":"SiYuan 3.8.7 through 3.8.8 does not normalize Windows GLOBALROOT device-namespace paths, so its sensitive-path denylist can be bypassed. An attacker who can call importStdMd can copy the API token and TLS private key into the publicly served assets directory.","category":"package","nicknames":[],"who_cares":["siyuan","windows","self-hosted"],"confidence":0.6,"needs_auth":"unknown","worst_case":"API token and TLS private key become publicly downloadable from assets.","analyst_note":"Confirm whether importStdMd requires API authentication and whether the fixed version is listed at https://nvd.nist.gov/vuln/detail/CVE-2026-118680.","how_to_check":"- Check the installed SiYuan version in the app's About dialog or package metadata: `3.8.7` through `3.8.8` are affected.\n- On Windows hosts, look for a copy of the API token or TLS private key under the SiYuan assets directory.","needs_analyst":true,"not_affected_if":["default-config"],"who_is_affected":"Windows installations of SiYuan 3.8.7 through 3.8.8 are affected, especially where the API is reachable from other machines or the internet. Desktop-only use on a locked-down machine carries less exposure. Installations on other operating systems are not described as affected.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000646,"input_tokens":3347,"output_tokens":622,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-118680':15A,18A '-2026':14A,17A '3.8.7':26B,69C '3.8.8':28B,71C 'alia':4A 'alias':80C 'api':7A,56B,98C 'asset':66B,108C 'attack':48B,85C 'bypass':5A,46B,81C 'call':51B 'copi':6A,54B,96C 'cve':13A,16A 'denylist':43B,84C 'devic':35B,78C 'device-namespac':34B,77C 'directori':67B,109C 'fail':72C 'globalroot':33B,76C,92C 'globalroot-prefix':91C 'host':22B 'importstdmd':52B,88C 'invok':87C 'issensitivepath':83C 'key':11A,61B,103C 'namespac':36B,79C 'normal':31B,74C 'packag':19B 'path':3A,37B,42B,94C 'prefix':93C 'privat':60B,102C 'public':12A,64B,106C 'self':21B 'self-host':20B 'sensit':41B 'sensitive-path':40B 'serv':65B,107C 'siyuan':1A,23B,25B,68C 'tls':10A,59B,101C 'token':8A,57B,99C 'window':2A,24B,32B,75C","nicknames":[],"mitigations":[],"who_affected":"Windows installations of SiYuan 3.8.7 through 3.8.8 are affected, especially where the API is reachable from other machines or the internet. Desktop-only use on a locked-down machine carries less exposure. Installations on other operating systems are not described as affected.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-28T19:17:34+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/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-118680","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118680","severity":null,"published_at":"2026-10-28T19:17:34+00:00","modified_at":"2026-10-28T19:17:34+00:00","first_seen_at":"2026-10-28T19:34:55+00:00","fetched_at":"2026-10-28T19:34:55+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}