Description
The Apache Airflow Git provider runs its git-over-SSH operations with `StrictHostKeyChecking=no` by default, disabling SSH host-key verification. An attacker who can intercept the network path between an Airflow worker and the Git server can impersonate the server (man-in-the-middle), capturing the SSH deploy key or injecting malicious repository content. Deployments that use the Git DAG bundle or Git provider to clone over SSH with a deploy key are affected. The fix changes the default to verify host keys; upgrade to apache-airflow-providers-git `0.4.1` or later and configure a `known_hosts` file.
Affected products
apache: apache-airflow-providers-git
References3
- lists.apache.org/thread/fjmclngfksz2kp7llpcjxzdz568h0zhc Mailing ListVendor Advisory
- github.com/apache/airflow/pull/69103 Issue TrackingPatch
- www.openwall.com/lists/oss-security/2026/07/13/3 Mailing ListThird Party Advisory
Metrics
- CVSS 3.1
-
8.1
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 55 · as of 15 November 2026
- CWE
- CWE-322
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.