Improper restriction of communication channel to intended endpoints in phpseclib - #VU168999
Published: November 21, 2026
Vulnerability details
The vulnerability allows a remote attacker to impersonate an SSH server during reconnection and obtain saved login credentials, including passwords.
The vulnerability exists due to missing server host key verification in phpseclib's SSH2 reconnect logic when it replays saved login calls after a ping-triggered reconnect or a login retry. A remote attacker can intercept or redirect the new connection to receive replayed credentials even if the client verified the original server's host key.