ID:12268 - Exploit for Untrusted search path in OpenSSH - CVE-2023-38408

 
Main Vulnerability Database Exploits ID:12268 - Exploit for Untrusted search path in OpenSSH - CVE-2023-38408

ID:12268 - Exploit for Untrusted search path in OpenSSH - CVE-2023-38408

Published: January 9, 2026


Vulnerability identifier: #VU78454
Vulnerability risk: Medium
CVE-ID: CVE-2023-38408
CWE-ID: CWE-426
Exploitation vector: Remote access
Vulnerable software:
OpenSSH

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to usage of an insecure search path within the PKCS#11 feature in ssh-agent. A remote attacker can trick the victim into connecting to a malicious SSH server and execute arbitrary code on the system, if an agent is forwarded to an attacker-controlled system.

Note, this vulnerability exists due to incomplete fix for #VU2015 (CVE-2016-10009).


Remediation

Install updates from vendor's website.