Source: python-asyncssh
Version: 2.24.0-2
X-Debbugs-CC: [email protected]
Severity: important
Tags: security upstream

Hi,

The following vulnerabilities were published for python-asyncssh.

CVE-2026-138374[0]:
| AsyncSSH 2.7.0 before 2.24.2 contains an argument injection
| vulnerability that allows attackers supplying host or user names to
| add arguments to the local proxy program by embedding whitespace or
| quote characters substituted into %h, %n or %r ProxyCommand tokens
| before splitting. Attackers can inject an -o option into the common
| ssh -W %h:%p bastion ProxyCommand to make the local ssh client run
| attacker-chosen commands as the application user.


CVE-2026-138375[1]:
| 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.


CVE-2026-138376[2]:
| AsyncSSH 1.13.1 before 2.24.2 contains an improper authentication
| vulnerability in SSHConnection._match_known_hosts that accumulates
| trusted client host keys across host-based authentication attempts
| on one connection. With trust_client_host enabled, attackers holding
| one known client host's private key can retry naming another known
| host and log in as users authorized only from that host.


CVE-2026-138377[3]:
| AsyncSSH 1.13.1 before 2.24.2 contains an improper certificate
| validation vulnerability that allows remote clients to authenticate
| as users by abusing X.509 certificates matched in
| known_client_hosts. Attackers can make a failed host-based
| authentication attempt with any host key, adding host-only CA
| certificates to the trust anchors, then authenticate using user
| certificates issued under those CAs.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-138374
    https://www.cve.org/CVERecord?id=CVE-2026-138374
[1] https://security-tracker.debian.org/tracker/CVE-2026-138375
    https://www.cve.org/CVERecord?id=CVE-2026-138375
[2] https://security-tracker.debian.org/tracker/CVE-2026-138376
    https://www.cve.org/CVERecord?id=CVE-2026-138376
[3] https://security-tracker.debian.org/tracker/CVE-2026-138377
    https://www.cve.org/CVERecord?id=CVE-2026-138377

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to