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.
Published: 2026-07-13
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Apache Airflow Git provider defaults to setting StrictHostKeyChecking=no, which disables host‑key verification for all git‑over‑SSH operations. This omission means that an attacker who can observe or manipulate the traffic between an Airflow worker and its remote Git server can perform a man‑in‑the‑Middle attack. Such a malicious actor can capture the SSH deploy key used by Airflow to authenticate with the repository or inject tampered code into the artifacts that Airflow subsequently pulls and executes, thereby compromising confidentiality and integrity of the platform.

Affected Systems

Versions of the Apache Airflow Git provider older than 0.4.1 are affected. The vulnerability manifests when the Git DAG bundle or the Git provider is configured to clone repositories over SSH using a deploy key. The error stems from the default hint that bypasses SSH host‑key verification, and any environment that permits Airflow workers to reach external Git hosts, especially those hosting shared or public repositories, is potentially exposed.

Risk and Exploitability

An attacker can hijack the SSH session without authentication, allowing them to eavesdrop on or modify the data stream. Because the condition of requiring a weak network path is simple—any man‑in‑the‑Middle between worker and Git server—risk is high if the network is not tightly controlled. The vulnerability carries a CVSS score of 8.1, indicating high severity, while an EPSS score of less than 1 % suggests a low current exploitation probability. It is not listed in the CISA KEV catalog, but since it relates to improper validation of trusted external credentials (CWE‑322), administrators should treat it with priority.

Generated by OpenCVE AI on July 31, 2026 at 11:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade apache‑airflow‑providers‑git to 0.4.1 or newer, which enables strict host‑key verification by default.
  • If an upgrade cannot be performed immediately, create and distribute a valid known_hosts file and configure Airflow to load it, ensuring host‑key validation.
  • Restrict Airflow workers’ outbound access to trusted Git hosts, using firewalls or network segmentation, to reduce the potential attack surface.

Generated by OpenCVE AI on July 31, 2026 at 11:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 13 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title Apache Airflow Git provider: Git provider hook defaults to StrictHostKeyChecking=no, disabling SSH host-key verification
Weaknesses CWE-322
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-14T13:38:58.471Z

Reserved: 2026-06-28T14:39:59.245Z

Link: CVE-2026-58065

cve-icon Vulnrichment

Updated: 2026-07-13T19:30:48.835Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T11:45:13Z

Weaknesses
  • CWE-322

    Key Exchange without Entity Authentication