# CVE-2023-28706: Apache Airflow Hive Provider vulnerable to code injection

Source: https://junglewise.ai/threats/cve-2023-28706-apache-airflow-hive-provider-vulnerable-to-code-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-04-07  
License: CC BY 4.0 with a link back

CVE-2023-28706 · Severity: critical · CVSS 9.8 · Published 2023-04-07

Apache Software Foundation's Apache Airflow Hive Provider before 6.0.0 is vulnerable to improper control of generation of code.

Technologies: [apache-airflow-providers-apache-hive (PyPI)](https://junglewise.ai/threats/technologies/apache-airflow-providers-apache-hive). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-28706 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-28706 being exploited in the wild.

**How severe is CVE-2023-28706?** Critical severity, with a CVSS score of 9.8, published 7 April 2023.

**Which products and versions are affected?** apache-airflow-providers-apache-hive (PyPI) < 6.0.0, ECOSYSTEM:introduced=0,fixed=6.0.0.

**Is there a fix for CVE-2023-28706?** Yes. apache-airflow-providers-apache-hive (PyPI): upgrade to 6.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-28706?** Check whether you run apache-airflow-providers-apache-hive (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- apache-airflow-providers-apache-hive (PyPI): upgrade to 6.0.0 or later

  ```sh
  pip install "apache-airflow-providers-apache-hive>=6.0.0"
  ```


## Affected products

- apache-airflow-providers-apache-hive (PyPI) < 6.0.0, ECOSYSTEM:introduced=0,fixed=6.0.0

## Identifiers

- CVE-2023-28706
- GHSA-5cvg-9pp5-mxcj
- PYSEC-2026-271

## Related threats

- [PYSEC-2026-1139 - Apache Airflow Apache Hive Provider Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2023-37415-apache-airflow-apache-hive-provider-improper-input-validation)
- [PYSEC-2026-772 - OS Command Injection in Apache Airflow](https://junglewise.ai/threats/cve-2022-41131-os-command-injection-in-apache-airflow)
- [Apache Airflow Hive Provider Beeline remote code execution with Principal](https://junglewise.ai/threats/cve-2023-35797-apache-airflow-hive-provider-beeline-remote-code-execution-with)
- [Apache Airflow Hive Provider Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2023-25696-apache-airflow-hive-provider-improper-input-validation)
- [Apache Airflow Hive Provider vulnerable to Command Injection](https://junglewise.ai/threats/cve-2022-46421-apache-airflow-hive-provider-vulnerable-to-command-injection)
