p PatchFirst

CVE-2025-68438

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 7.5 · High · EPSS 0.6% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • apache airflow

    Versions
    • ≥ 3.1.0, < 3.1.6: Affected (semver)

    Update to 3.1.6

  • apache-airflow PyPI

    Versions
    • 3.1.0
    • 3.1.1
    • 3.1.1rc1
    • 3.1.1rc2
    • 3.1.2
    • 3.1.2rc1
    • 3.1.2rc2
    • 3.1.3
    • 3.1.3rc1
    • 3.1.4
    • 3.1.4rc1
    • 3.1.4rc2
    • 3.1.5
    • 3.1.5rc1
    • 3.1.6rc1
    Affected ranges
    • ECOSYSTEM: ≥ 3.1.0, < 3.1.6

    Update to 3.1.6

Original sources

Check your server →