Skip to content

4.4.2 (November 11, 2026)

Latest

Choose a tag to compare

@tleonhardt tleonhardt released this 11 Nov 15:54

What's Changed

  • Security
    • Fixed shell command injection through file names in the edit command and Cmd.run_editor().
      A file name containing shell syntax such as $(...) or backticks was interpreted by the shell
      instead of being passed to the editor as-is. On Windows, run_editor() now raises
      ValueError for an editor or file path containing a double quote, which cannot be passed
      safely to cmd.exe.
    • The persistent history file is now readable and writable only by its owner (mode 0600 on
      POSIX), since history can contain secrets typed as command arguments. The permissions of an
      existing history file are tightened the next time history is saved.