CVE-2023-27604 Apache Airflow Sqoop Provider: Airflow Sqoop Provider RCE Vulnerability
Authenticated attackers with connection editing permissions can execute arbitrary commands via Sqoop import parameters, leading to remote code execution on the Airflow server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-27604?
CVE-2023-27604 is a high-severity command injection vulnerability in Apache Airflow Sqoop Provider, published on 28 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-20
Which versions are affected by CVE-2023-27604?
3 open source packages ship an affected version, including apache-airflow-providers-apache-sqoop. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
apache-airflow-providers-apache-sqoop PyPI | All versions | 4.0.0 |
apache-airflow-providers-apache-sqoop PyPI | All versions | 4.0.0 |
apache-airflow-providers-apache-sqoop PyPI | All versions | 4.0.0 |
Products include Apache Airflow Sqoop Provider.
How do I fix CVE-2023-27604?
Upgrade apache-airflow-providers-apache-sqoop to 4.0.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-27604 being exploited?
There is no known exploitation of CVE-2023-27604 in the wild and no public exploit code.
Sources
Also known as GHSA-g3m9-pr5m-4cvp, PYSEC-2026-1142.