VDB
Sign up
MEDIUM5.3

PYSEC-2026-2361

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

Quick fix

PYSEC-2026-2361 — apache-airflow-core: upgrade to the fixed version with the command below.

pip install --upgrade 'apache-airflow-core>=3.2.0'

Details

In case of SQL errors, exception/stack trace of errors was exposed in API even if "api/expose_stack_traces" was set to false. That could lead to exposing additional information to potential attacker. Users are recommended to upgrade to Apache Airflow 3.2.0, which fixes the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-airflow-core
Introduced in: 0Fixed in: 3.2.0
Fixpip install --upgrade 'apache-airflow-core>=3.2.0'

References