Skip to content
VulniPulse
Medium6.5Red Hat Linux

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.

Open the Red Hat advisory

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

Red Hat LinuxUnclassified

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.

All Red Hat Linux advisories

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.

Alert me about Red Hat