← All security advisories

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

Severity Low
Affects Apache Airflow
Weakness CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Published January 16, 2026
Record updated November 3, 2026
CVE record CVE-2025-68438 on cve.org

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

Affected versions

ProductPackageVersions
Apache Airflow apache-airflow-core from 3.1.0 before 3.1.6

Credits

  • William Ashe (finder)
  • Amogh Desai (remediation developer)

References