---
id: CVE-2026-22922
aliases:
  - GHSA-pm44-x5x7-24c4
  - BIT-airflow-2026-22922
  - PYSEC-2026-11
title: >-
  Apache Airflow Has an Authorization Bypass That Allows Unauthorized Task Log
  Access
summary: >-
  Apache Airflow Has an Authorization Bypass That Allows Unauthorized Task Log
  Access
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.1.0, < 3.1.7'
patched:
  - apache-airflow 3.1.7
published: '2026-02-09'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:35.595164033Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-pm44-x5x7-24c4'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-22922'
  - url: 'https://github.com/apache/airflow/pull/60412'
  - url: 'https://github.com/apache/airflow'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-11.yaml
  - url: 'https://lists.apache.org/thread/gdb7vffhpmrj5hp1j0oj1j13o4vmsq40'
  - url: 'http://www.openwall.com/lists/oss-security/2026/02/09/2'
tags:
  - osv
  - pip
epss: 0.00388
epssPercentile: 0.3011
ingestedAt: '2026-09-12T03:13:01.716Z'
---

## Overview

## Vulnerability Overview

An authorization bypass vulnerability exists in Apache Airflow that allows authenticated users to access task execution logs without the required permissions.

## The Flaw

The vulnerability affects environments using custom roles or granular permission settings. Normally, Airflow allows administrators to separate "Task" access (viewing the task state) from "Task Log" access (viewing the console output/logs).

In affected versions, the permission check for retrieving logs is insufficient. An authenticated user who has been granted access to view Tasks can successfully request and view Task Logs, even if they do not have the specific `can_read` permission for Logs.

## Impact

- **Confidentiality Loss:** Task logs often contain sensitive operational data, debugging information, or potentially leaked secrets (environment variables, connection strings) that should not be visible to all users with basic task access.
- **Broken Access Control:** This bypasses the intended security model for restricted user roles.

## Affected Versions

- Apache Airflow 3.1.0 through 3.1.6

## Patches

Users should upgrade to Apache Airflow **3.1.7** or later, which enforces the correct permission checks for log access.

## Affected packages

- `apache-airflow >= 3.1.0, < 3.1.7`

## Remediation

Upgrade to a patched release:

- `apache-airflow 3.1.7`
