PyPI: apache-airflow-core

CVE-2026-30912

Safety vulnerability ID: SFTY-20260418-69352

Safety legacy ID: pyup.io-95051

Affected versions of the apache-airflow-core package are vulnerable to Information Disclosure due to the api/expose_stack_traces configuration setting being ignored when SQL errors occur. When a SQL error is raised, the exception details and stack trace are returned through the API even if api/expose_stack_traces is set to false, bypassing the intended suppression behaviour. A potential attacker who triggers a SQL error through the API can obtain internal stack trace information that should have been withheld, exposing implementation details about the system.

Created at: Oct 26, 2026Updated at: Oct 26, 2026

Overview

Apache Airflow exposes SQL stack trace despite "api/expose_stack_traces" set to false

Advisory

Affected versions of the apache-airflow-core package are vulnerable to Information Disclosure due to the api/expose_stack_traces configuration setting being ignored when SQL errors occur. When a SQL error is raised, the exception details and stack trace are returned through the API even if api/expose_stack_traces is set to false, bypassing the intended suppression behaviour. A potential attacker who triggers a SQL error through the API can obtain internal stack trace information that should have been withheld, exposing implementation details about the system.

Affected Package

Affecting apache-airflow-core package, versions<3.2.0

Also affects

---

How to Fix

Upgradeapache-airflow-coreto3.2.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more