PYSEC-2026-1142
Airflow Sqoop Provider RCE Vulnerability
Quick fix
PYSEC-2026-1142 — apache-airflow-providers-apache-sqoop: upgrade to the fixed version with the command below.
pip install --upgrade 'apache-airflow-providers-apache-sqoop>=4.0.0'Details
Apache Airflow Sqoop Provider, versions before 4.0.0, is affected by a vulnerability that allows an attacker pass parameters with the connections, which makes it possible to implement RCE attacks via ‘sqoop import --connect’, obtain airflow server permissions, etc. The attacker needs to be logged in and have authorization (permissions) to create/edit connections.
It is recommended to upgrade to a version that is not affected. This issue was reported independently by happyhacking-k, And Xie Jianming and LiuHui of Caiji Sec Team also reported it.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 4.0.0pip install --upgrade 'apache-airflow-providers-apache-sqoop>=4.0.0'References
- https://nvd.nist.gov/vuln/detail/CVE-2023-27604[ADVISORY]
- https://github.com/apache/airflow/pull/33039[WEB]
- https://github.com/apache/airflow[PACKAGE]
- https://lists.apache.org/thread/lswlxf11do51ob7f6xyyg8qp3n7wdrgd[WEB]
- https://pypi.org/project/apache-airflow-providers-apache-sqoop[PACKAGE]
- https://github.com/advisories/GHSA-g3m9-pr5m-4cvp[ADVISORY]