CVE-2026-126641: Red Hat accepts a changed SSH host key when host_key_auto_add is enabled
This Red Hat advisory covers CVE-2026-126641. Related products: Red Hat Ansible Automation Platform 2.
- CVE-2026-126641
Key facts
- Vendor rating
- Medium, CVSS 6.5
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N· base score 6.5, scored by redhatAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: low. Availability impact: none.- Weakness
- CWE-322 Key Exchange without Entity Authentication
- EPSS
- 0.33% chance of exploitation in the next 30 days (27th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Related products & platforms
Description
accepts a changed SSH host key when host_key_auto_add is enabled. Red Hat rates this moderate (CVSS 6.5).
Weakness: CWE-322.
Affected product named by the advisory: Red Hat Ansible Automation Platform 2.
Text from the source record.
How to fix CVE-2026-126641
Workarounds
- Do not enable host_key_auto_add (ansible.netcommon libssh) or AutoAddPolicy (ansible-pylibssh). Keep host_key_checking enabled and pre-populate known_hosts with verified host keys so that a changed key causes the connection to fail closed.
More Red Hat Linux advisories
CVE-2026-125350Nov 10, 2026Use after free in XMLCVE-2026-114713Nov 8, 2026Command injection via unescaped message tagCVE-2026-90436Nov 6, 2026Remote code execution via insecure deserialization of SOAP fault messagesCVE-2026-123158Nov 5, 2026Password authentication bypass via password hash misinterpretationCVE-2026-115731Nov 3, 2026authenticated remote code execution via report event deserializationCVE-2026-119977Oct 31, 2026Arbitrary code execution via predictable upgrade staging paths
Get an email when Red Hat publishes the next one.
See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.