PYSEC-2026-19: Apache Airflow: 3.x - Nested Variable Secret Values Bypass Redaction via max_depth=1

Published Apr 18, 2026
·
Updated

Secrets in Variables saved as JSON dictionaries were not properly redacted - in case thee variables were retrieved by the user the secrets stored as nested fields were not masked.

If you do not store variables with sensitive values in JSON form, you are not affected. Otherwise please upgrade to Apache Airflow 3.2.0 that has the fix implemented

Affected Software

1 affected component
Apache Airflow>=3.0.0<3.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Airflow to a version that resolves this vulnerability.

    Fixed in 3.2.0

Event History

Apr 18, 2026
CVE Published
via OSV·06:22 AM
Data Sourced
via OSV·06:22 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Deployments are affected only if they store sensitive values in Airflow Variables as JSON dictionaries, with secrets in nested fields. Deployments that do not store sensitive values in Variables in JSON form are not affected.

2

What does an attacker need to do to expose a secret?

The issue occurs when a user retrieves a Variable whose JSON dictionary contains a nested secret value. The provided CVSS vector indicates network reachability and no required privileges or user interaction, although exploitation complexity is rated high.

3

How can I determine whether my environment is exposed?

Review Airflow Variables for values stored as JSON dictionaries and identify whether any nested fields contain passwords, tokens, keys, or other sensitive data. Such Variables may expose those nested values without redaction when retrieved.

4

What remediation is available?

Upgrade Apache Airflow to version 3.2.0, which implements the fix. If an immediate upgrade is not possible, avoid storing sensitive values in JSON-formatted Variables, particularly in nested fields.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203