OpenSSH Flaw (CVE-2025-61984) Allows RCE via Usernames

A critical vulnerability, CVE-2025-61984, has been disclosed in OpenSSH versions before 10.1, enabling remote code execution. The flaw stems from the improper handling of control characters in usernames when used with the `ProxyCommand` directive. An attacker can inject malicious commands by crafting a username with special shell characters and a newline, exploiting how certain shells parse the command string. This issue poses a significant risk for configurations using the `%r` token, such as in some Git submodule setups. Administrators should upgrade OpenSSH immediately or apply mitigations by quoting the username token in their configuration files.

Latest mentioned: 10-08
Earliest mentioned: 10-07