Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in libssh username handling for ProxyCommand expansion. The ssh_check_username_syntax() validation path in src/misc.c used an incomplete dangerous-character filter for usernames expanded through %r. As a result, specially crafted usernames containing shell-significant characters could reach shell-evaluated ProxyCommand handling and influence shell expansion, exposing environment variables and causing unintended shell behavior. This issue affects clients that combine untrusted username input with ProxyCommand-style shell execution.
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2026:55855 https://access.redhat.com/errata/RHSA-2026:55855
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:62217 https://access.redhat.com/errata/RHSA-2026:62217
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2026:62218 https://access.redhat.com/errata/RHSA-2026:62218