CVE-2026-138375
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | python-asyncssh |
Affected | — |
| sid | python-asyncssh |
Affected | — |
| forky | python-asyncssh |
Affected | — |
| bookworm | python-asyncssh |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ronf | asyncssh | {"startIncluding":"2.20.0","endExcluding":"2.24.2"} | 2.24.2 |
References
- https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/config.py#L148-L152
- https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst
- https://github.com/ronf/asyncssh/commit/43dfcb81b86d29b605873f7c77df06f9e9920ce1
- https://github.com/ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346
- https://www.vulncheck.com/advisories/asyncssh-2.20.0-before-2.24.2-environment-variable-disclosure-via-config-token-expansion
- https://security-tracker.debian.org/tracker/CVE-2026-138375
- https://www.suse.com/security/cve/CVE-2026-138375.html
CWEs
CWE-497
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.