ADVISORIES

PyPA Advisory Database

PYSEC-2026-2348

Apache Airflow error reporting may expose full kwargs

Details

When a DAG failed during parsing, Airflow’s error-reporting in the UI could include the full kwargs passed to the operators. If those kwargs contained sensitive values (such as secrets), they might be exposed in the UI tracebacks to authenticated users who had permission to view that DAG.

The issue has been fixed in Airflow 3.1.5rc1 and 2.11.1, and users are strongly advised to upgrade to prevent potential disclosure of sensitive information.

Affected packages

EcosystemPackageAffected versions
PyPIapache-airflow
All versions before 2.11.1 (fixed in 2.11.1)
From 3.0.0b1 before 3.1.5rc1 (fixed in 3.1.5rc1)

References