Airflow Git Provider CVE-2026-58065
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain on-path position between worker and Git server
-
DeliveryIntercept worker SSH clone request
-
ExploitPresent forged host key (MITM, accepted due to StrictHostKeyChecking=no)
-
ExecutionCapture deploy key and serve malicious DAG content
-
ImpactExecute attacker code on Airflow worker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Authenticated key exchange
|
| Exploitation Conditions | Exploitation requires the deployment to use the Git provider or Git DAG bundle to clone over SSH with a deploy key AND to rely on the vulnerable default strict_host_key_checking='no' (no known_hosts pinning). The attacker must hold an active man-in-the-middle position on the network path between the Airflow worker and the Git server - this is the primary limiting factor (reflected as AC:H) and is not satisfied over an authenticated or verified TLS/SSH channel. Deployments cloning over HTTPS, or that have already set strict_host_key_checking to 'yes'/'accept-new' with a configured known_hosts_file, are not exposed. No local access, credentials, or user interaction is required (PR:N/UI:N), but the on-path prerequisite meaningfully narrows realistic exploitation to shared, untrusted, or compromised network segments. |
| Impact | The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, 8.1) shows unauthenticated, no-user-interaction, network-reachable exploitation with full confidentiality/integrity/availability impact, but the High attack complexity is the key limiter: the attacker must already hold a privileged network position to intercept and actively MITM the worker-to-Git SSH channel, which is not trivial in well-segmented environments. There is no EPSS score provided and no KEV listing, so no independent signal of active or automated exploitation; POC availability is not indicated. This is a genuine and correctly-rated design weakness rather than an inflated score, but real-world priority is moderated by the on-path prerequisite - it is most acute where Airflow workers reach a Git server over untrusted or shared network segments. Note the input provides no EPSS/SSVC data, so automatability and exploitation-status framework signals are unknown and cannot be weighed. |
| Exploit ScenarioDerived | An attacker who can occupy a network position between an Airflow worker and its Git server (e.g., a rogue device on a shared subnet or a compromised upstream hop) responds to the worker's SSH clone with their own host key, which is accepted because verification is disabled. The attacker captures the SSH deploy key and serves malicious repository content, causing Airflow to load and execute attacker-controlled DAG code on the worker. No POC is indicated in the available data, and the high-complexity on-path requirement makes this an opportunistic-position rather than trivial remote attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 14, 2026
Man-in-the-middle interception of Apache Airflow's Git provider (apache-airflow-providers-git before 0.4.1) is possible because git-over-SSH operations run with StrictHostKeyChecking=no by default, so no SSH host-key verification occurs. An attacker positioned on the network path between an Airflow worker and its Git server can impersonate the server to steal the SSH deploy key or inject malicious DAG content, leading to code execution on workers. No public exploit identified at time of analysis, and it is not listed in CISA KEV; CVSS is 8.1 (High) driven by high attack complexity (AC:H) requiring an on-path position.
Earlier versions of this analysis (2)
SSH man-in-the-middle in the Apache Airflow Git provider (apache-airflow-providers-git before 0.4.1) stems from a default of StrictHostKeyChecking=no, which disables host-key verification for git-over-SSH clone operations. A network-positioned attacker on the path between an Airflow worker and the Git server can impersonate the server to steal the SSH deploy key or inject malicious repository/DAG content, which Airflow then executes. Rated CVSS 8.1 (High); there is no public exploit identified at time of analysis and it is not in CISA KEV, though the upstream fix is public in apache/airflow PR #69103.
SSH host-key verification is disabled by default in the Apache Airflow Git provider, enabling a network-adjacent attacker to perform man-in-the-middle attacks against Airflow workers cloning repositories over SSH. Any deployment using the Git DAG bundle or Git provider over SSH with a deploy key is exposed to SSH credential capture or injection of malicious DAG content (Python code) into the Airflow pipeline. No public exploit has been identified at time of analysis, but vendor-released patch apache-airflow-providers-git 0.4.1 is available and changes the default to enforce host-key verification.
RemediationAI
Vendor-released patch: upgrade to apache-airflow-providers-git 0.4.1 or later, which changes the default strict_host_key_checking to 'accept-new'. As a hardening step, configure a known_hosts_file and set strict_host_key_checking explicitly to 'yes' in the Git connection extra so the Git server's host key must be pre-provisioned and verified up front (the strongest setting, though it requires managing known_hosts and will break clones if the server key legitimately rotates without an update). If you cannot upgrade immediately, set strict_host_key_checking to 'accept-new' or 'yes' in the connection extra and supply a known_hosts_file entry for your Git host as a compensating control, and additionally restrict/segment the network path between Airflow workers and the Git server so an attacker cannot occupy an on-path position. Details are in the Apache advisory (https://lists.apache.org/thread/fjmclngfksz2kp7llpcjxzdz568h0zhc) and PR https://github.com/apache/airflow/pull/69103.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the Git provider/Git DAG bundle in Apache Airflow, which clones repositories over SSH using a configured deploy key to source DAG definitions. The GitHook set the SSH option strict_host_key_checking to 'no' by default, disabling the client's known_hosts verification so any presented host key is accepted. This is a CWE-322 (Key Exchange Without Entity Authentication) weakness: because the endpoint's identity is never authenticated, the SSH client cannot distinguish the legitimate Git server from an impersonator. CPE cpe:2.3:a:apache_software_foundation:apache_airflow_git_provider identifies the provider package as the affected product. The PR (apache/airflow#69103) changes the default to 'accept-new' (trust-on-first-use with pinning thereafter), adds support for 'yes'/'accept-new'/'off'/'ask', emits a deprecation warning when the default is relied upon over SSH, and signals a future major release will default to 'yes'.
Know when Apache Airflow Git Provider gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
On-path MITM position gives AC:H; no auth or interaction needed (PR:N/UI:N); stolen deploy key and injected DAG code yield full C/I/A impact.
Primary rating from Vendor (apache).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
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.
Executive ViewAI
Apache Airflow's Git provider (versions before 0.4.1) fails to verify SSH host keys by default, exposing organizations to network-based man-in-the-middle attacks. Attackers positioned on the network path can steal SSH credentials or inject malicious DAGs, achieving code execution within Airflow worker nodes. For organizations using Airflow to orchestrate data pipelines or critical workflows, this creates direct risk to operational continuity and infrastructure security.
Apply vendor patch: apache-airflow-providers-git version 0.4.1 or later.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB