Database/Control plane, storage & DevOps
ansible-pylibssh / ansible.netcommon: changed SSH host keys silently accepted when auto-add is on
Impact
When trust-on-first-use is enabled, a host already in known_hosts that presents a different key is treated like an unknown host. Its new key is added and the connection goes ahead instead of aborting. Someone in a machine-in-the-middle position can impersonate a managed host, which is often a datacenter switch, since netcommon is the network-device connection path. The controller then sends it credentials and runs the play against it. The default configuration is not affected.
Who can reach it
An attacker with a machine-in-the-middle position between the Ansible controller and managed hosts, for example on the management network. Only applies where host_key_auto_add is set on the libssh connection plugin or where AutoAddPolicy is used in ansible-pylibssh. No authentication is needed.
What to do
The record cites no fixed versions. Follow the Red Hat advisory for patched ansible-pylibssh and ansible.netcommon builds. In the meantime, leave host_key_checking enabled and host_key_auto_add unset, and remove AutoAddPolicy from custom pylibssh code. Audit known_hosts for keys added unexpectedly.
References
Related entries
- AWX: template admin can attach another user's webhook token and have it sent to a destination they controlCVE-2026-126642 · Red Hat Ansible Automation Platform / AWX (job template webhook credentials)Medium
- AAP Gateway Operator: resource-server secret copied in plaintext into the AutomationController custom resourceCVE-2026-126643 · Red Hat Ansible Automation Platform Gateway Operator (AutomationController reconciliation)Medium
- GitLab: group milestones API returns private-project milestone metadata without membershipCVE-2026-13319 · GitLab CE/EE group milestones API (project filter authorization)Medium
- GitLab CE/EE: malformed CSV import lets an authenticated user stall Sidekiq workersCVE-2026-1403 · GitLab CE/EE (CSV import, Sidekiq worker)Medium
- PostgreSQL pgcrypto: PGP functions emit recoverable cleartext when OpenSSL disables the cipherCVE-2026-14663 · PostgreSQL pgcrypto (pgp_sym_encrypt / pgp_pub_encrypt family)Medium
- Grafana: read-only Git Sync users can change a connection's configuration via its status subresourceCVE-2026-15577 · Grafana Git Sync provisioning (connection status subresource)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.