REDHAT-BUG-2553034: Medium severity OpenSSH OpenSSH vulnerability

Published Oct 15, 2026
·
Updated

A flaw was found in OpenSSH ssh. sshvalidruser did not reject '$' or a backslash that is not at the end of a username entered on the command line. Those characters still expand through %u in ProxyCommand or Match exec. Usernames written in the configuration file are not subject to this check. CVE-2026-35386 is already backported and rejects a different set of shell metacharacters, plus a trailing backslash. Hostnames in that fix already reject '$' and '\'. Usernames do not. This is a new CVE on top of CVE-2026-35386.

Affected Software

1 affected component
OpenSSH OpenSSH

Event History

Oct 15, 2026
Data Sourced
via Red Hat·04:16 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker needs to supply a username on the ssh command line containing '$' or a non-trailing backslash. The SSH configuration must use %u in a ProxyCommand or Match exec context, where those characters can then be expanded.

2

Are usernames defined in SSH configuration files affected in the same way?

No. The described validation gap applies to usernames entered on the command line; usernames written in the configuration file are not subject to this check.

3

Does the earlier CVE-2026-35386 backport address this issue?

No. That backport rejects a different set of shell metacharacters and a trailing backslash, but it does not reject '$' or a non-trailing backslash in command-line usernames.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203