Skip to main content

Airflow Git Provider CVE-2026-58065

HIGH
Key Exchange without Entity Authentication (CWE-322)
2026-07-13 apache
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain on-path position between worker and Git server
  2. Delivery
    Intercept worker SSH clone request
  3. Exploit
    Present forged host key (MITM, accepted due to StrictHostKeyChecking=no)
  4. Execution
    Capture deploy key and serve malicious DAG content
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jul 14, 2026 - 01:30 cvss changed CVSS 8.1

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.

v1 Jul 13, 2026 - 15:46

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

Vendor (apache) PRIMARY MEDIUM
NVD 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Jul 14, 2026 - 01:30 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 14, 2026 - 01:30 vuln.today
v2 - CVSS changed
CVSS changed
Jul 14, 2026 - 01:22 NVD
8.1 (HIGH)

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch: apache-airflow-providers-git version 0.4.1 or later.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
Medium
Apache Airflow is widely used, but the Git-provider-over-SSH deploy-key path is a subset
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Affected Products (CPE)NVD

cpe:2.3:a:apache_software_foundation:apache_airflow_git_provider:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy