Advisory

PYSEC-2026-9

Also known as: BIT-airflow-2025-68438, CVE-2025-68438, GHSA-3qmm-r55x-hpxx

Summary

The record has no summary.

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: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-01-16 11:16 UTC
Modified
2026-06-10 17:00 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: PyPA Advisory Database · CC BY 4.0

Sources & licences