Command Injection Affecting apache-airflow-providers-ssh package, versions [4.3.0,7.0.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-APACHEAIRFLOWPROVIDERSSSH-21755386
  • published27 Oct 2026
  • disclosed27 Oct 2026
  • creditEnrico Maria Carmona

Introduced: 27 Oct 2026

NewCVE-2026-111422  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade apache-airflow-providers-ssh to version 7.0.1 or higher.

Overview

apache-airflow-providers-ssh is a Provider package apache-airflow-providers-ssh for Apache Airflow

Affected versions of this package are vulnerable to Command Injection via the build_posix_wrapper_command function in remote_job.py, where environment variable values passed to SSHRemoteJobOperator are not properly quoted before being spliced into a single-quoted shell script literal. An attacker who controls an environment variable value containing shell metacharacters (such as $(...), backticks, or ;) can cause those characters to be interpreted by the remote wrapper shell rather than passed as literal strings to the job, enabling arbitrary command execution on the remote host. The root cause is that the per-value escaping used only a single level of single-quote escaping, which was insufficient because the export block was then embedded inside another single-quoted literal without a second escaping pass.

CVSS Base Scores

version 4.0
version 3.1