CVE-2026-113504

Apache Airflow: Secrets masker: pattern-based masking bounded at depth 5 returns deeply-nested registered secrets in cleartext

Published Nov 9, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Apache Airflow's secrets masker stopped descending into nested structures after five levels, so a secret registered with the masker — for example a Connection password or a Variable value — that appeared more than five containers deep under non-sensitive keys was shown in cleartext in task logs and rendered template fields. A user who can read task logs or rendered templates, but is not meant to see those secrets, could read them. Users are advised to upgrade to apache-airflow 3.4.0 or later. Airflow 2.x is also affected; Airflow 2 has reached end of life and will not receive a fix, so Airflow 2 users should upgrade to Apache Airflow 3.4.0 or later.

Analysis

AI-generated

Technical impact

Apache Airflow’s secrets masker stopped descending into nested structures after five levels. When a secret registered with the masker—such as a Connection password or Variable value—appears more than five containers deep under non‑sensitive keys, it is shown unmasked in task logs and rendered template fields. Users who can read task logs or rendered templates, but are not authorized to see those secrets, could therefore read them. Airflow 2.x is also affected; as Airflow 2 has reached end‑of‑life it will not receive a fix, so users should upgrade to Apache Airflow 3.4.0 or later. The vulnerability, classified as CWE‑497, results in the exposure of sensitive information.

Affected Systems

Apache Software Foundation’s Apache Airflow product is affected. All installations using versions prior to 3.4.0 are vulnerable, as the fix is released in that release. Any Airflow deployment that relies on the default secrets masker behavior and renders logs or templates for users who should not have access to secrets may be impacted.

Risk and Exploitability

The vulnerability is an information‑disclosure flaw with no public exploit code and an EPSS score of < 1%, and it is not listed in CISA KEV. The CVSS score of 6.5 indicates moderate severity. Attackers must have read access to Airflow task logs or rendered templates, which typically requires at least the same privileges used to trigger or view tasks. While no remote exploitation path is documented, the risk is elevated for environments where log data is broadly exposed or where users have elevated read privileges. The severity of the impact depends on the value of the exposed secrets; disclosing credentials could grant further network or administrative access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Airflow to version 3.4.0 or later
  • Restrict read permissions on task logs and rendered template files to authorized users
  • Verify custom plugins or DAGs do not bypass the secrets masker or expose secrets in other outputs

Generated by OpenCVE AI on November 15, 2026 at 08:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Description Apache Airflow's secrets masker stopped descending into nested structures after five levels, so a secret registered with the masker — for example a Connection password or a Variable value — that appeared more than five containers deep under non-sensitive keys was shown in cleartext in task logs and rendered template fields. A user who can read task logs or rendered templates, but is not meant to see those secrets, could read them. Users are advised to upgrade to apache-airflow 3.4.0 or later. Apache Airflow's secrets masker stopped descending into nested structures after five levels, so a secret registered with the masker — for example a Connection password or a Variable value — that appeared more than five containers deep under non-sensitive keys was shown in cleartext in task logs and rendered template fields. A user who can read task logs or rendered templates, but is not meant to see those secrets, could read them. Users are advised to upgrade to apache-airflow 3.4.0 or later. Airflow 2.x is also affected; Airflow 2 has reached end of life and will not receive a fix, so Airflow 2 users should upgrade to Apache Airflow 3.4.0 or later.
Type Values Removed Values Added
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow
Type Values Removed Values Added
Description Apache Airflow's secrets masker stopped descending into nested structures after five levels, so a secret registered with the masker — for example a Connection password or a Variable value — that appeared more than five containers deep under non-sensitive keys was shown in cleartext in task logs and rendered template fields. A user who can read task logs or rendered templates, but is not meant to see those secrets, could read them. Users are advised to upgrade to apache-airflow 3.4.0 or later.
Title Apache Airflow: Secrets masker: pattern-based masking bounded at depth 5 returns deeply-nested registered secrets in cleartext
Weaknesses CWE-497
References
Weaknesses
  • CWE-497

    Exposure of Sensitive System Information to an Unauthorized Control Sphere

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 12, 2026, 4:02 PM
Reserved
Oct 20, 2026, 10:43 AM
Status
Awaiting Analysis
Published
Nov 9, 2026, 10:17 AM
Modified
Nov 12, 2026, 5:17 PM