{"items":[{"id":"NVI-00012932","kind":"vulnerability","title":"SiYuan: getUniqueFilename passes an unvalidated client-supplied path to the filesystem, giving anonymous readers an existence oracle over the entire host filesystem","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-hf8h-97gm-4x2p","CVE-2026-73605"],"plain_summary":"GitHub lists this reviewed advisory for github.com/siyuan-note/siyuan/kernel. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-122c14c155716b187ab075a36ac1df29"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-01T15:46:03.000Z","value":"5.8 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-122c14c155716b187ab075a36ac1df29"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-122c14c155716b187ab075a36ac1df29","url":"https://github.com/advisories/GHSA-hf8h-97gm-4x2p","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-hf8h-97gm-4x2p","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T01:40:00.567Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-122c14c155716b187ab075a36ac1df29"],"technology":"github.com/siyuan-note/siyuan/kernel","known_exclusions":[],"conditions_summary":"### Summary\n\n`/api/file/getUniqueFilename` takes a path from the request body and passes it to a filesystem existence check with no validation, confinement or authorization. The response distinguishes paths that exist from paths that do not, so an anonymous reader in publish mode can probe arbitrary locations on the host, one request per probe. Files and directories both work.\n\nEvery neighbouring file route either requires an administrator or confines the path first.\n\n### Details\n\n**Route.** `kernel/api/router.go:289` on master, `:292` on the development branch, `CheckAuth` only.\n\n**Handler,** `kernel/api/file.go:84`, in full:\n\n```go\nutil.ParseJsonArgs(arg, ret, util.BindJsonArg(\"path\", &filePath, true, true))\nret.Data = map[string]any{\"path\": util.GetUniqueFilename(filePath)}\n```\n\n**The argument binder does no path handling.** `util.BindJsonArg` (`kernel/util/net.go:365`) takes two booleans, `required` (the key must be present) and `rejectEmpty` (the value must be non-empty). That is its entire contract. There is no `filepath.Clean`, no workspace join, no traversal check. An absolute path outside the workspace reaches `gulu.File.IsExist` unmodified.\n\n**The oracle.** `util/file.go:","public_affected_ranges":["< 0.0.0-20260812083335-251596fc0de2"]}],"null_published_at":"2026-11-01T07:29:12.903Z","source_updated_at":"2026-10-01T15:46:03.000Z","source_disclosed_at":"2026-10-01T15:46:01.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-01T01:40:00.567Z"}],"next_cursor":null,"snapshot_revision":"42594"}