CVE-2025-68438
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
How to fix
- apache airflow3.1.6 or later
- apache-airflow3.1.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache airflow | 3.1.0 ≤ v < 3.1.6 | 3.1.6 |
| apache-airflowPyPI | 3.1.0 ≤ v < 3.1.6 | 3.1.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.