TJEH / CVE reading sheet
CVE-2026-126641
The available vulnerability information, collected from NVD and presented by TJEH.
View the official NVD record (new tab)Highest published CVSS score
6.5 / 10
Scores may come from the assigning authority or NIST and can change.
- Published
- 12 Nov 2026, 12:17
- NVD update
- 13 Nov 2026, 03:18
- Last collected by TJEH
- 13 Nov 2026, 05:20
Times shown in Paris time.
In plain language
Raw watch record
This record has not yet been explained by TJEH. It shows the source information as published.
What the source reports
Source description as published by NVD
A host key verification flaw was found in ansible-pylibssh and in the ansible.netcommon libssh connection plugin. When trust-on-first-use is enabled (host_key_auto_add on the libssh connection plugin, or AutoAddPolicy in ansible-pylibssh), a host that is already present in known_hosts but now presents a different key is accepted without warning. The pylibssh Session.verify_knownhost() method passes the SSH_KNOWN_HOSTS_CHANGED and SSH_KNOWN_HOSTS_OTHER states to the same missing_host_key() policy hook used for unknown hosts, and the bundled AutoAddPolicy/RejectPolicy classes (as well as ansible.netcommon's MyAddPolicy, which is modeled on paramiko's AutoAddPolicy) therefore add the changed key and continue the connection rather than aborting as paramiko's BadHostKeyException path would. As a result the controller authenticates to the substitute host, runs the play there, and appends the new key to known_hosts, which can disclose connection credentials to an attacker performing a machine-in-the-middle attack. Default configurations (host_key_checking enabled, host_key_auto_add unset) are not affected; non-interactive runs fail closed.
Fix and what to do
No verified fix here yet
Check whether your product and version are affected, then follow the publisher’s advisory to update. A published fix does not mean it has been installed on your systems.
Published CVSS metrics
CVSS 3.1 · 6.5/10
secalert@redhat.com
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Reported weaknesses : CWE-322