# CVE-2026-138375: AsyncSSH 2.20.0 before 2.24.2 Environment Variable Disclosure via Config Token Expansion

- Severity: Low 2.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-11-29T13:24:20.915Z
- Modified: 2026-11-30T18:18:53.677Z
- Weaknesses: CWE-497
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- ronf AsyncSSH: from 2.20.0 before 2.24.2

## Every score

- VulnCheck: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/ronf/asyncssh/security/advisories/GHSA-54qj-68m2-5346> (vendor-advisory)
- <https://github.com/ronf/asyncssh/commit/43dfcb81b86d29b605873f7c77df06f9e9920ce1> (patch)
- <https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/config.py#L148-L152> (technical-description)
- <https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst> (release-notes)
- <https://www.vulncheck.com/advisories/asyncssh-2.20.0-before-2.24.2-environment-variable-disclosure-via-config-token-expansion> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-138375](https://www.cve.org/CVERecord?id=CVE-2026-138375), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138375](https://nvd.nist.gov/vuln/detail/CVE-2026-138375), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138375 · Whole record: https://cve.day/CVE-2026-138375.json · Rebuilt by cve.day 2026-11-30T18:32:23.204Z
