You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Router entries can use a separate SSH/SFTP username and an absolute private-key path; SSH-backed commands and SFTP uploads no longer require RouterOS password authentication when a key is configured.
Security
ping, traceroute, and torch built their RouterOS command by interpolating unvalidated string parameters and running it over SSH, so a value like 127.0.0.1; /system reboot executed a second command. Because all three tools are read-only, this bypassed allowedToolPatterns scoping, the run_command allow/deny policy, the destructive-tool confirmation gate, and the audit log. Diagnostic commands are now assembled by a builder that validates command and parameter names, quotes every string value (escaping \, ", and $), and rejects control characters at the input schema as a validation error. Affects every published release; upgrade if any identity can call these tools.