ADVISORIES

PyPA Advisory Database

PYSEC-2026-2362

Apache Airflow Exposes Secrets in Variables Saved as JSON Dictionaries

Details

Secrets in Variables saved as JSON dictionaries were not properly redacted - in case the variables were retrieved by the user the secrets stored as nested fields were not masked.

If developers do not store variables with sensitive values in JSON form, their projects are not affected. Otherwise upgrade to the fixed version, Apache Airflow 3.2.0.

Affected packages

EcosystemPackageAffected versions
PyPIapache-airflow-core
From 3.0.0 before 3.2.0 (fixed in 3.2.0)

References