Apache Airflow Git provider: Git provider hook defaults to StrictHostKeyChecking=no, disabling SSH host-key verification
Summary
| CVE | CVE-2026-58065 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-13 16:16:41 UTC |
| Updated | 2026-07-13 20:16:48 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-322 | CWE-322 CWE-322: Key Exchange without Entity Authentication
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache Airflow Git Provider | affected 0.4.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.openwall.com/lists/oss-security/2026/07/13/3 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| github.com/apache/airflow/pull/69103 | [email protected] | github.com | |
| lists.apache.org/thread/fjmclngfksz2kp7llpcjxzdz568h0zhc | [email protected] | lists.apache.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Siyang Wu (independent researcher) (en)
CNA: Ephraim Anierobi (en)
There are currently no legacy QID mappings associated with this CVE.