---
id: CVE-2026-111422
title: >-
  Apache Airflow SSH provider: SSHRemoteJobOperator: `environment` values are
  executed as shell on the remote host
summary: >-
  In apache-airflow-providers-ssh before 7.0.1, SSHRemoteJobOperator quoted the
  values of its templated `environment` parameter only once, although they are
  placed inside an already-quoted wrapper script, so shell syntax such as
  `$(...)` i…
severity: none
cwe:
  - CWE-78
vendor: Apache Software Foundation
product: apache-airflow-providers-ssh
affected:
  - apache-airflow-providers-ssh >= 4.3.0 < 7.0.1
published: '2026-10-26'
updated: '2026-10-27'
sourceUpdated: '2026-10-27T00:17:16.330Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111422'
references:
  - url: 'https://github.com/apache/airflow/pull/74810'
  - url: 'https://lists.apache.org/thread/k159xrq1tbgmkvl24j63g12qh0mczk79'
  - url: >-
      https://airflow.apache.org/docs/apache-airflow-providers-ssh/7.0.1/changelog.html
tags:
  - cve.org
epss: 0.00275
epssPercentile: 0.19806
ingestedAt: '2026-10-27T16:11:59.176Z'
---

## Overview

In apache-airflow-providers-ssh before 7.0.1, SSHRemoteJobOperator quoted the values of its templated `environment` parameter only once, although they are placed inside an already-quoted wrapper script, so shell syntax such as `$(...)` in a value was executed on the remote SSH host. In a Dag that passes trigger-time input such as `params` or `dag_run.conf` into `environment`, a user who can trigger that Dag but cannot author Dags could run arbitrary commands on the remote host as the SSH connection's user. Users are advised to upgrade apache-airflow-providers-ssh to 7.0.1 or later.

## Affected

- `apache-airflow-providers-ssh >= 4.3.0 < 7.0.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
