From the OpenSSH update: “Although we believe it is the user's responsibility to ensure validity of arguments passed to ssh(1), especially across a security boundary such as the git example above, OpenSSH 9.6 now bans most shell metacharacters from user and hostnames supplied via the command-line. This countermeasure is not guaranteed to be effective in all situations, as it is infeasible for ssh(1) to universally fi…
> but honestly it's not far off that level of “well, duh” I think the real problem is that other apps do use ssh and malicious actors can inject untrusted input without the user's consent. The git POC is one example, and while I do think that git also needs to be updated, fixing the problem on the ssh side is also a good idea
A good discussion on this: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3c...