CVE-2026-94134

Apache Airflow SSH provider, Apache Airflow SFTP provider: SSH hook disables host-key verification by default

Published Oct 15, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
The Apache Airflow SSH provider hook disables SSH host-key verification by default: unless `host_key` is configured or `no_host_key_check` is explicitly set to false, it accepts any server key. This affects SSH and SFTP connections that rely on the default. An attacker in a machine-in-the-middle position between the worker and the SSH or SFTP server can impersonate the server and capture the credentials or data a task sends.

Users of apache-airflow-providers-ssh and apache-airflow-providers-sftp are recommended to upgrade to apache-airflow-providers-ssh 7.0.0 and apache-airflow-providers-sftp 7.0.0 or later. The deferrable SFTP code paths had the same default and are covered separately by CVE-2026-94135; apache-airflow-providers-sftp 7.0.0 fixes both.

Analysis

AI-generated

Technical impact

The Apache Airflow SSH provider and SFTP provider default to disabling SSH host‑key verification. Unless a host_key is supplied or no_host_key_check is explicitly set to false, the hook accepts any server key. This flaw allows a man‑in‑the‑middle attacker positioned between a worker and the SSH or SFTP server to impersonate the server, intercept traffic, and capture credentials or data transmitted by Airflow tasks. The impact is the compromise of authentication information and potential exfiltration of exchanged data.

Affected Systems

Apache Software Foundation products Apache Airflow SSH provider and Apache Airflow SFTP provider are affected. The flaw exists in current releases that ship these providers without mandatory host‑key verification. Users of the airflow packages apache‑airflow‑providers‑ssh and apache‑airflow‑providers‑sftp should check the version and upgrade if they are using a version prior to 7.0.0.

Risk and Exploitability

The CVSS score of 9.1 indicates high severity, while the EPSS score is < 1% and it is not listed in KEV. Because the hook disables host‑key verification by default, a straightforward man‑in‑the‑middle attack can be performed against unauthenticated network traffic without advanced privileges. The risk is high for deployments that do not explicitly enable host‑key verification. An attacker can capture credentials or sensitive data, potentially enabling further access to downstream resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade apache‑airflow‑providers‑ssh and apache‑airflow‑providers‑sftp to version 7.0.0 or later, which enforces host‑key verification by default.
  • If an upgrade is not feasible, configure the SSH hook to supply the true host_key or set no_host_key_check to False to re‑enable verification.
  • For deferrable SFTP operations, upgrade to 7.0.0 or apply the mitigating changes outlined for CVE‑2026‑94135.
  • Restrict network exposure of Airflow workers to trusted networks to reduce the likelihood of a man‑in‑the‑middle attack.

Generated by OpenCVE AI on October 16, 2026 at 18:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Apache
Apache airflow Sftp Provider
Apache airflow Ssh Provider
Vendors & Products Apache
Apache airflow Sftp Provider
Apache airflow Ssh Provider
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Apache Airflow SSH provider hook disables SSH host-key verification by default: unless `host_key` is configured or `no_host_key_check` is explicitly set to false, it accepts any server key. This affects SSH and SFTP connections that rely on the default. An attacker in a machine-in-the-middle position between the worker and the SSH or SFTP server can impersonate the server and capture the credentials or data a task sends. Users of apache-airflow-providers-ssh and apache-airflow-providers-sftp are recommended to upgrade to apache-airflow-providers-ssh 7.0.0 and apache-airflow-providers-sftp 7.0.0 or later. The deferrable SFTP code paths had the same default and are covered separately by CVE-2026-94135; apache-airflow-providers-sftp 7.0.0 fixes both.
Title Apache Airflow SSH provider, Apache Airflow SFTP provider: SSH hook disables host-key verification by default
Weaknesses CWE-322
References
Weaknesses
  • CWE-322

    Key Exchange without Entity Authentication

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 16, 2026, 2:53 PM
Reserved
Sep 20, 2026, 6:23 PM
Status
Awaiting Analysis
Published
Oct 15, 2026, 10:21 PM
Modified
Oct 16, 2026, 3:20 PM