github iwe-org/iwe iwe-v0.36.1
v0.36.1

latest releases: iwec-v0.36.1, iwes-v0.36.1
3 hours ago

A security fix: symbolic links inside a workspace can no longer be used to read or overwrite files outside it. Symlinked notes are skipped when the workspace loads, and creating or writing a note whose file or folder is a symlink now fails in the CLI and the MCP server. Thanks @pzr21 for reporting the issue.

iwe

Changed

  • Symlinked notes are no longer loaded and notes can't be written through a symlinked file or folder (previously a symlink could read or overwrite files outside the workspace)
  • new fails when the key's file is a symlink or sits in a symlinked folder, whatever --if-exists says (previously it reported the note as existing, skipped it or added a suffix)

iwes

Changed

  • Symlinked notes are no longer loaded or reloaded from disk (previously a symlink could expose files outside the workspace)

iwec

Changed

  • Symlinked notes are no longer loaded and tools refuse to write through a symlinked file or folder (previously a symlink could read or overwrite files outside the workspace)
  • iwe_create fails when the key's file is a symlink or sits in a symlinked folder, including with if_exists: "skip" (previously it skipped the note or wrote through the link)
Library crates (liwe, diwe)

liwe

Changed

  • walk_md_paths skips symlinked files (previously the file a symlink points to was loaded)

diwe

Added

  • path_crosses_symlink to check whether a path inside the workspace goes through a symlink

Changed

  • workspace_document_path refuses paths that go through a symlink below the workspace root (previously it returned them)

Don't miss a new iwe release

NewReleases is sending notifications on new releases.