CVE-2026-58065

Apache Airflow Git provider: Git provider hook defaults to StrictHostKeyChecking=no, disabling SSH host-key verification

Published Jul 13, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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'}

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
Weaknesses
  • CWE-322

    Key Exchange without Entity Authentication

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 16, 2026, 3:06 PM
Reserved
Jun 28, 2026, 2:39 PM
Status
Modified
Published
Jul 13, 2026, 4:16 PM
Modified
Oct 24, 2026, 10:10 PM