Advisory

GHSA-3qmm-r55x-hpxx

Also known as: BIT-airflow-2025-68438, CVE-2025-68438, PYSEC-2026-9

Summary

Apache Airflow secrets in rendered templates could contain parts of sensitive values when truncated

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-01-16 12:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 3.1.0, fixed 3.1.6 (ecosystem)

Fixed versions

3.1.6

Fix

  • Fixed version 3.1.6
    pip install --upgrade apache-airflow==3.1.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences