---
id: CVE-2023-35797
aliases:
  - GHSA-hg6c-qqcm-r79r
  - PYSEC-2026-273
title: Apache Airflow Hive Provider Beeline remote code execution with Principal
summary: Apache Airflow Hive Provider Beeline remote code execution with Principal
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: apache-airflow-providers-apache-hive
product: apache-airflow-providers-apache-hive
ecosystem: pip
affected:
  - apache-airflow-providers-apache-hive < 6.1.1
patched:
  - apache-airflow-providers-apache-hive 6.1.1
published: '2023-07-03'
updated: '2026-10-26'
sourceUpdated: '2026-10-26T21:30:04.166361320Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-hg6c-qqcm-r79r'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-35797'
  - url: 'https://github.com/apache/airflow/pull/31983'
  - url: >-
      https://github.com/apache/airflow/commit/6724eeb6210d5965937eaf9dae3e476eb30f8268
  - url: 'https://github.com/apache/airflow'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-apache-hive/PYSEC-2026-273.yaml
  - url: 'https://lists.apache.org/thread/30y19ok07fw52x5hnkbhwqo3ho0wwc1y'
  - url: 'https://pypi.org/project/apache-airflow-providers-apache-hive'
  - url: 'http://www.openwall.com/lists/oss-security/2023/07/12/3'
  - url: 'https://github.com/advisories/GHSA-hg6c-qqcm-r79r'
tags:
  - osv
  - pip
  - ghsa
epss: 0.02791
epssPercentile: 0.86351
cwe:
  - CWE-20
ingestedAt: '2026-10-27T16:11:58.776Z'
---

## Overview

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.

## Affected packages

- `apache-airflow-providers-apache-hive < 6.1.1`

## Remediation

Upgrade to a patched release:

- `apache-airflow-providers-apache-hive 6.1.1`
