Apache Airflow SSH provider: Command injection in SSHRemoteJobOperator (CVE-2026-111422)
A command injection vulnerability in the Apache Airflow SSH provider allows attackers to achieve remote code execution on SSH hosts by injecting shell syntax into the environment parameter of SSHRemoteJobOperator.
CVE search metadata
CVE search record: CVE-2026-111422. KEV: no. Product: Apache Airflow SSH provider (4.3.0 - 7.0.0). Brief: Apache Airflow SSH provider: Command injection in SSHRemoteJobOperator (CVE-2026-111422). Brief link: https://feed.craftedsignal.io/briefs/2026-10-airflow-ssh-injection/
Triage facts
Revision 1- Applicability
- Apache Airflow SSH provider (4.3.0 - 7.0.0)
- Evidence
- Unknown
- Severity
- Low
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Oct 27, 00:32 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
Apache Airflow SSH provider versions 4.3.0 through 7.0.0 are vulnerable to command injection via the SSHRemoteJobOperator. The vulnerability stems from improper quoting of the templated environment parameter. Because the values are placed within an already-quoted wrapper script without sufficient escaping, an attacker providing malicious input (such as command substitution syntax $(...)) via DAG parameters can cause the remote SSH host to execute arbitrary shell commands.
Impact
Successful exploitation allows for remote code execution on the target host defined in the SSH connection. This may lead to unauthorized access to the target infrastructure, privilege escalation, or lateral movement from the Airflow environment to the SSH-connected system.
Recommendation
- Upgrade the
apache-airflow-providers-sshpackage to version 7.0.1 or later. - Audit existing DAGs using
SSHRemoteJobOperatorto ensure that input passed into theenvironmentparameter is strictly validated and does not contain shell metacharacters or command substitution sequences.
Immediate actions
Upgrade apache-airflow-providers-ssh to 7.0.1 or later.
Threat Hunt
Identify DAGs utilizing SSHRemoteJobOperator that dynamically populate the environment parameter from user-controllable input or params.
Data: Airflow DAG definition source code, Audit logs for DAG parameter inputs
Mitigations
Upgrade affected Apache Airflow SSH provider components to version 7.0.1.
CVE-2026-111422