Description
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.
Published: 2026-10-26
Score: n/a
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

A flaw in the SSHRemoteJobOperator of Apache Airflow’s SSH provider allows shell syntax within the templated `environment` parameter to be executed on the remote host. Because the operator only quotes the values once, expressions like `$(…)` or backticks are processed by the remote shell. This permits an attacker who can trigger a DAG but does not have permission to modify the DAG code to run arbitrary commands as the SSH user, effectively compromising the remote system.

Affected Systems

The issue exists in all releases of the Apache Airflow SSH provider before version 7.0.1. Any deployment that uses a pre‑7.0.1 provider and accepts user‑supplied `environment` values at trigger time is affected.

Risk and Exploitability

The vulnerability results in remote code execution, a very high‑severity impact. No EPSS score is available, and the issue is not listed in the CISA KEV catalog. The likely attack vector is user trigger of a DAG that passes unsanitized values into `environment`; the attacker does not need to modify DAG code, only trigger permission. Because the flaw involves execution of shell commands on a remote host, the exploit would allow full lateral movement or system compromise if the SSH user is privileged.

Generated by OpenCVE AI on October 27, 2026 at 06:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Apache Airflow SSH provider to version 7.0.1 or later as provided by the vendor.
  • If upgrading is temporarily infeasible, restrict the ability to trigger Dags that forward user input into the `environment` parameter and sanitize or remove any such values before they are passed to the operator.
  • As a temporary mitigation, configure the Airflow deployment to use a restricted set of environment variables or enforce hard‑coded values for critical Dags that interact with SSH.

Generated by OpenCVE AI on October 27, 2026 at 06:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache Airflow SSH provider: SSHRemoteJobOperator: `environment` values are executed as shell on the remote host
Weaknesses CWE-78
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-27T00:17:16.330Z

Reserved: 2026-10-16T02:30:23.102Z

Link: CVE-2026-111422

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T00:17:09.197

Modified: 2026-10-27T01:19:03.627

Link: CVE-2026-111422

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T06:30:12Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')