---
id: CVE-2026-34538
aliases:
  - GHSA-r7vr-m4jw-r794
  - BIT-airflow-2026-34538
  - PYSEC-2026-21
title: Apache Airflow has an authorization bypass in DagRun wait endpoint
summary: Apache Airflow has an authorization bypass in DagRun wait endpoint
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
vendor: apache-airflow
product: apache-airflow
ecosystem: pip
affected:
  - 'apache-airflow >= 3.0.0, < 3.2.0'
patched:
  - apache-airflow 3.2.0
published: '2026-04-09'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:51:03.113097615Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-r7vr-m4jw-r794'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-34538'
  - url: 'https://github.com/apache/airflow/pull/64415'
  - url: 'https://github.com/apache/airflow'
  - url: 'https://github.com/apache/airflow/releases/tag/3.2.0'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-21.yaml
  - url: 'https://lists.apache.org/thread/9mq3msqhmgjwdzbr6bgthj4brb3oz9fl'
  - url: 'http://www.openwall.com/lists/oss-security/2026/04/09/9'
tags:
  - osv
  - pip
epss: 0.00789
epssPercentile: 0.54351
ingestedAt: '2026-09-12T03:13:01.725Z'
---

## Overview

Apache Airflow versions 3.0.0 through 3.1.8 DagRun wait endpoint returns XCom result values even to users who only have DAG Run read permissions, such as the Viewer role.This behavior conflicts with the FAB RBAC model, which treats XCom as a separate protected resource, and with the security model documentation that defines the Viewer role as read-only.

Airflow uses the FAB Auth Manager to manage access control on a per-resource basis. The Viewer role is intended to be read-only by default, and the security model documentation defines Viewer users as those who can inspect DAGs without accessing sensitive execution results.

Users are recommended to upgrade to Apache Airflow 3.2.0 which resolves this issue.

## Affected packages

- `apache-airflow >= 3.0.0, < 3.2.0`

## Remediation

Upgrade to a patched release:

- `apache-airflow 3.2.0`
