---
id: CVE-2026-24098
aliases:
  - GHSA-5g2w-9f8g-g5q7
  - BIT-airflow-2026-24098
  - PYSEC-2026-12
title: >-
  Apache Airflow UI Exposes DAG Import Errors to Unauthorized Authenticated
  Users
summary: >-
  Apache Airflow UI Exposes DAG Import Errors to Unauthorized Authenticated
  Users
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.7
patched:
  - apache-airflow 3.1.7
published: '2026-02-09'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:34.280891850Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-5g2w-9f8g-g5q7'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-24098'
  - url: 'https://github.com/apache/airflow/pull/60801'
  - url: 'https://github.com/apache/airflow'
  - url: 'https://lists.apache.org/thread/nx96435v77xdst7ls5lk57kqvqyj095x'
  - url: 'http://www.openwall.com/lists/oss-security/2026/02/09/3'
tags:
  - osv
  - pip
epss: 0.00753
epssPercentile: 0.53092
ingestedAt: '2026-09-12T03:13:01.660Z'
---

## Overview

### Impact

**Exposure of Sensitive Information:**

An information disclosure vulnerability exists in the Apache Airflow UI that allows authenticated users to view `Import Errors` for DAGs they are not authorized to access.

In affected versions, the **Import Errors** view does not correctly filter errors based on granular DAG permissions. This means a user with access to only `DAG_A` can view import errors generated by `DAG_B`, `DAG_C`, or system-level DAGs. These error logs often contain file paths, code snippets, or stack traces that reveal the internal structure and logic of restricted DAGs.

### Patches

Users should upgrade to Apache Airflow **3.1.7** or later.
This version strictly enforces DAG-level permissions on the Import Errors view.

### Workarounds

There are no known workarounds other than upgrading.

### Resources

* [CVE-2026-24098](https://nvd.nist.gov/vuln/detail/CVE-2026-24098)
* [Pull Request #60801](https://github.com/apache/airflow/pull/60801)
* [Mailing List Announcement](https://lists.apache.org/thread/nx96435v77xdst7ls5lk57kqvqyj095x)

## Affected packages

- `apache-airflow < 3.1.7`

## Remediation

Upgrade to a patched release:

- `apache-airflow 3.1.7`
