Apache Airflow SSH provider: SSHRemoteJobOperator: `environment` values are executed as shell on the remote host
Summary
| CVE | CVE-2026-111422 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-27 00:17:09 UTC |
| Updated | 2026-10-27 01:19:03 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-78 | CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache Airflow SSH Provider | affected 4.3.0 7.0.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/apache/airflow/pull/74810 | [email protected] | github.com | |
| airflow.apache.org/docs/apache-airflow-providers-ssh/7.0.1/changelog.html | [email protected] | airflow.apache.org | |
| www.openwall.com/lists/oss-security/2026/10/26/20 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| lists.apache.org/thread/k159xrq1tbgmkvl24j63g12qh0mczk79 | [email protected] | lists.apache.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Enrico Maria Carmona, Serasoft S.r.l. (en)
CNA: Kaxil Naik (en)
There are currently no legacy QID mappings associated with this CVE.