CVE-2023-25696 Apache Airflow Hive Provider Beeline RCE

Critical 9.8 Published Updated

Attackers can execute arbitrary code via improper input validation in the Apache Airflow Hive Provider Beeline integration.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-25696?

CVE-2023-25696 is a critical command injection vulnerability in Apache Airflow Hive Provider, published on 24 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Input Validation vulnerability in the Apache Airflow Hive Provider.

This issue affects Apache Airflow Hive Provider versions before 5.1.3.

Weakness: CWE-20

Which versions are affected by CVE-2023-25696?

3 open source packages ship an affected version, including apache-airflow-providers-apache-hive. It affects 1 product.

PackageAffectedFixed in
apache-airflow-providers-apache-hive PyPIAll versions5.1.3
apache-airflow-providers-apache-hive PyPIAll versions5.1.3
apache-airflow-providers-apache-hive PyPIAll versions5.1.3

Products include Apache Apache-Airflow-Providers-Apache-Hive.

How do I fix CVE-2023-25696?

Upgrade apache-airflow-providers-apache-hive to 5.1.3 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-25696 being exploited?

There is no known exploitation of CVE-2023-25696 in the wild and no public exploit code.

Sources

Also known as GHSA-9mwf-mw74-9cv5, PYSEC-2026-272.

Is CVE-2023-25696 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free