{"id":"CVE-2026-116168","state":"PUBLISHED","title":"SiYuan before v3.8.7 Path Traversal Local File Read via MCP Asset Tool","description":"SiYuan before 3.8.7 contains a path traversal vulnerability in the MCP asset tool because validateAssetUploadPaths relies on an incomplete sensitive-path blacklist that omits .env and other secret files. Authenticated attackers driving the MCP asset upload action can copy such local files into the workspace and read them back via /assets/ over HTTP.","publishedAt":"2026-10-25T13:20:11.054Z","updatedAt":"2026-10-25T14:27:41.242Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["siyuan-note siyuan"],"affected":[{"vendor":"siyuan-note","product":"siyuan","packageURL":"pkg:golang/github.com/siyuan-note/siyuan/kernel","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.8.7","versionType":"semver"},{"version":"3.8.7","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-q768-4j87-gf3w","https://www.vulncheck.com/advisories/siyuan-before-3.8.7-path-traversal-local-file-read-via-mcp-asset-tool"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/116xxx/CVE-2026-116168.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-116168","state":"PUBLISHED","datePublished":"2026-10-25T13:20:11.054Z","dateUpdated":"2026-10-25T14:27:41.242Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-25T12:24:12.573Z"},"containers":{"cna":{"title":"SiYuan before v3.8.7 Path Traversal Local File Read via MCP Asset Tool","descriptions":[{"lang":"en","value":"SiYuan before 3.8.7 contains a path traversal vulnerability in the MCP asset tool because validateAssetUploadPaths relies on an incomplete sensitive-path blacklist that omits .env and other secret files. Authenticated attackers driving the MCP asset upload action can copy such local files into the workspace and read them back via /assets/ over HTTP."}],"affected":[{"vendor":"siyuan-note","product":"siyuan","packageURL":"pkg:golang/github.com/siyuan-note/siyuan/kernel","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.8.7","versionType":"semver"},{"version":"3.8.7","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-q768-4j87-gf3w","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-q768-4j87-gf3w)"},{"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.7-path-traversal-local-file-read-via-mcp-asset-tool","name":"VulnCheck Advisory: SiYuan before v3.8.7 Path Traversal Local File Read via MCP Asset Tool","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":6.9,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS"},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-25T14:27:41.242Z"},"datePublic":"2026-10-09T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*","versionEndExcluding":"3.8.7"}]}]}],"credits":[{"lang":"en","value":"overtimepog","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}