HIGH 7.5 PyPI

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

GHSA-3qmm-r55x-hpxx · BIT-airflow-2025-68438 · CVE-2025-68438 · PYSEC-2026-9

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes