AsyncSSH 2.20.0 before 2.24.2 contains an information disclosure vulnerability in SSHConfig._expand_val that expands ${NAME} references inside substituted host or user names. Attackers supplying unvalidated host or user names to connect() can leak process environment variables like credentials into options such as ProxyCommand arguments using %h, %n or %r.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-497"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138375.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "2.20.0"
},
{
"fixed": "2.24.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"introduced": "2.20.0"
},
{
"fixed": "2.24.2"
}
],
"source": "CPE_FIELD",
"strategy": "CPEApplicability"
}
]
},
{
"extracted_events": [
{
"range": [
{
"introduced": "2.20.0"
},
{
"fixed": "2.24.2"
}
],
"source": "DESCRIPTION"
}
]
}
]
}