Apache Airflow: Secrets masker cleartext exposure (CVE-2026-113504)
Apache Airflow versions prior to 3.4.0 fail to mask secrets nested deeper than five levels, potentially exposing sensitive data in plain text within task logs and rendered templates.
CVE search metadata
CVE search record: CVE-2026-113504. KEV: no. Product: Airflow (< 3.4.0). Brief: Apache Airflow: Secrets masker cleartext exposure (CVE-2026-113504). Brief link: https://feed.craftedsignal.io/briefs/2026-11-airflow-secrets-masker/
Triage facts
Revision 1- Applicability
- Airflow (< 3.4.0)
- Evidence
- Unknown
- Severity
- Medium
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 9, 09:13 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Roughly even chance
Apache Airflow contains a vulnerability in its secrets masker mechanism (CVE-2026-113504). The masker performs a depth-limited traversal, stopping after five levels of nested data structures. If a registered secret (such as a connection password or variable) resides deeper than five containers, the masker fails to redact it. This results in the secret appearing in cleartext within task logs and rendered template fields, which are accessible to users with task-log read permissions.
Impact
Successful exploitation allows unauthorized users with access to view Airflow task logs or rendered templates to obtain sensitive credentials (e.g., database passwords, API keys) stored as Connections or Variables if those secrets are programmatically nested within deep data structures.
Recommendation
- Upgrade Apache Airflow to version 3.4.0 or later immediately to resolve the masker depth limitation.
- Audit existing DAGs and custom operator implementations to identify deeply nested data structures passing sensitive information.
- Restrict access to task logs and template rendering to only authorized users until patching is complete.
Immediate actions
Upgrade Apache Airflow to version 3.4.0 or later.
Threat Hunt
Audit task logs and rendered templates for evidence of unexpectedly visible secret values.
Data: Airflow task logs, Rendered template field outputs
Mitigations
Upgrade to Airflow 3.4.0.
CVE-2026-113504