Skip to content

v1.3.1 — Security release

Latest

Choose a tag to compare

@docxology docxology released this 30 Nov 14:54
· 56 commits to main since this release

Security release for GHSA-5jxj-mv8w-6hxp (high): the Obsidian vault traversal guard in agentic_memory/obsidian/crud.py could be bypassed with an absolute note name (CWE-22, CWE-73). Versions 1.0.1 through 1.3.0 are affected. Upgrade to 1.3.1.

Fixed

  • Every Obsidian note operation (create, read, update, append, prepend, delete, frontmatter, rename, move, templates) is confined to the vault. The new resolve_vault_path helper refuses absolute names, drive and UNC anchors, .. components, and symlinks (dangling ones included) that resolve outside the vault.
  • Wikilink rewrites after a rename or move, and the ObsidianVault scan behind search, graph and memory ingest, skip notes that are symlinks to files outside the vault.
  • The hermes_parse_canvas MCP tool uses the same containment.
  • The rules_get_module_rule, rules_get_section and rules_get_applicable MCP tools refuse module names that are not a single file name.
  • obsidian_sync exports into the vault root, not the filesystem root, when given an empty export folder.

Behavior changes

  • Note names may contain .. inside a component (for example v1..2 notes); only a whole .. component is refused.
  • A vault no longer lists notes that are symlinks to files outside it.

Reported by Filip Kulisiewicz (KulFilip).

This tag also carries the changes merged to main since v1.3.0; see CHANGELOG.md.