VDB
Sign up
HIGH7.5

PYSEC-2026-9

Quick fix

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

pip install --upgrade 'apache-airflow>=3.1.6'

Details

In Apache Airflow versions before 3.1.6, when rendered template fields in a Dag exceed [core] max_templated_field_length, sensitive values could be exposed in cleartext in the Rendered Templates UI. This occurred because serialization of those fields used a secrets masker instance that did not include user-registered mask_secret() patterns, so secrets were not reliably masked before truncation and display.

Users are recommended to upgrade to 3.1.6 or later, which fixes this issue

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-airflow
Introduced in: 3.1.0Fixed in: 3.1.6
Fixpip install --upgrade 'apache-airflow>=3.1.6'

References