---
id: CVE-2026-94134
title: >-
  Apache Airflow SSH provider, Apache Airflow SFTP provider: SSH hook disables
  host-key verification by default
summary: >-
  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 …
severity: none
cwe:
  - CWE-322
vendor: Apache Software Foundation
product: apache-airflow-providers-ssh
affected:
  - apache-airflow-providers-ssh < 7.0.0
  - apache-airflow-providers-sftp < 7.0.0
published: '2026-10-15'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T03:39:17.565Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-94134'
references:
  - url: 'https://github.com/apache/airflow/pull/73419'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-94135'
  - url: 'https://lists.apache.org/thread/ksr1lztvd3zr74f8xd1hzch1ssl0l3lj'
tags:
  - cve.org
ingestedAt: '2026-10-15T22:48:25.376Z'
---

## Overview

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.

## Affected

- `apache-airflow-providers-ssh < 7.0.0`
- `apache-airflow-providers-sftp < 7.0.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
