Apache Airflow SSH provider: SSHRemoteJobOperator: `environment` values are executed as shell on the remote host

Summary

CVECVE-2026-111422
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-27 00:17:09 UTC
Updated2026-10-27 01:19:03 UTC
DescriptionIn 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

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Airflow SSH Provider affected 4.3.0 7.0.1 semver Not specified

References

ReferenceSourceLinkTags
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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report