{"id":"CVE-2026-59854","aliases":["CVE-2026-59854"],"related":[],"kind":"vulnerability","state":"published","title":"SiYuan: Incomplete IsSensitivePath denylist: globalCopyFiles reads home-dir credential dotfiles into the workspace","summary":"SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, POST /api/file/globalCopyFiles accepts attacker-supplied absolute source paths and relies on util.IsSensitivePath in kernel/util/path.go, whose denylist misses common home-directory credential files such as .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json, and .gnupg, allowing an authenticated administrator or API-token user to copy those files into the workspace and exfiltrate them through the file API. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, POST /api/file/globalCopyFiles accepts attacker-supplied absolute source paths and relies on util.IsSensitivePath in kernel/util/path.go, whose denylist misses common home-directory credential files such as .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json, and .gnupg, allowing an authenticated administrator or API-token user to copy those files into the workspace and exfiltrate them through the file API. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.","source":"cvelist"},{"lang":"es","text":"SiYuan es un sistema de gestión de conocimiento personal de código abierto. Antes de la versión 3.7.1, POST /API/file/globalCopyFiles acepta rutas de origen absolutas proporcionadas por el atacante y se basa en util.IsSensitivePath en kernel/util/path.go, cuya lista de denegación omite archivos de credenciales comunes del directorio de inicio como .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json y .gnupg, lo que permite a un administrador autenticado o a un usuario con token de API copiar esos archivos en el espacio de trabajo y exfiltrarlos a través de la API de archivos. Este problema se ha solucionado en las versiones 3.7.1-alpha.2 y 3.7.1.","source":"nvd"}],"published":"2026-07-09T22:25:39.675Z","modified":"2026-10-25T15:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-693"],"affected":[{"ranges":[{"version":"< 3.7.1","status":"affected"}],"vendor":"siyuan-note","product":"siyuan","source":"cvelist"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vmm8-3ccv-ppvw","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/commit/914c5180a88d17f6d38716a56483327b367ef55f","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/commit/b54fee401799d987d2fd2888220938ad599b8c5e","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-10T20:46:29.340Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59854","url":"https://www.cve.org/CVERecord?id=CVE-2026-59854","licence":"CVE Terms of Use","modified":"2026-07-10T20:59:30.307Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59854","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59854","licence":"Public domain","modified":"2026-10-25T15:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.578Z","epss":{"score":0.00278,"percentile":0.21758,"date":"2026-12-01T12:00:22.000Z"}}