MEDIUM 6.5
PYSEC-2026-3706
Quick fix
PYSEC-2026-3706 — apache-airflow: upgrade to the fixed version with the command below.
pip install --upgrade 'apache-airflow>=3.3.1' Details
Apache Airflow's secrets masker did not mask `var.json` Variable values whose value is a dict in the Rendered Templates UI — the dict value failed an `isinstance(str)` guard — so a secret stored as a JSON Variable and referenced in a template via `var.json` was displayed in cleartext to any user with access to that task's Rendered Templates view. Users are advised to upgrade to apache-airflow 3.3.1 or later, which masks nested Variable values regardless of type.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / apache-airflow
Introduced in:
0 Fixed in: 3.3.1 Fix
pip install --upgrade 'apache-airflow>=3.3.1'