Skip to content

CVE-2025-68438 Apache Airflow: Secrets in rendered templates could contain parts of sensitive values when truncated

HighCVSS 7.5 EPSS 0.62%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

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

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
apache airflow >= 3.1.0, < 3.1.6 3.1.6 Fixed
pypi apache-airflow(PyPI) = 3.1.0; = 3.1.1; = 3.1.1rc1; = 3.1.1rc2 +12 more 3.1.6 Fixed
pypi apache-airflow-core(PyPI) >= 3.1.0, < 3.1.6 3.1.6 Fixed

Affected products

ProductAffected versionsFixed in
pypi apache-airflow(PyPI) >= 3.1.0, < 3.1.6 3.1.6
pypi apache-airflow(PyPI) = 3.1.0 No fix listed
pypi apache-airflow(PyPI) = 3.1.1 No fix listed
pypi apache-airflow(PyPI) = 3.1.1rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.1rc2 No fix listed
pypi apache-airflow(PyPI) = 3.1.2 No fix listed
pypi apache-airflow(PyPI) = 3.1.2rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.2rc2 No fix listed
pypi apache-airflow(PyPI) = 3.1.3 No fix listed
pypi apache-airflow(PyPI) = 3.1.3rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.4 No fix listed
pypi apache-airflow(PyPI) = 3.1.4rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.4rc2 No fix listed
pypi apache-airflow(PyPI) = 3.1.5 No fix listed
pypi apache-airflow(PyPI) = 3.1.5rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.6rc1 No fix listed
pypi apache-airflow-core(PyPI) >= 3.1.0, < 3.1.6 3.1.6
apache airflow >= 3.1.0, < 3.1.6 3.1.6

References