Description
Apache Airflow's secrets masker did not mask `var.json` Variable values whose value is a dict in the Rendered Templates UI — the dict value failed an `isinstance(str)` guard — so a secret stored as a JSON Variable and referenced in a template via `var.json` was displayed in cleartext to any user with access to that task's Rendered Templates view. Users are advised to upgrade to apache-airflow 3.3.1 or later, which masks nested Variable values regardless of type.
Published: 2026-08-12
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Apache Airflow's secrets masker failed to mask values stored in a Var.json Variable that are of dictionary type. The code checks only for string instances, so when a secret is stored as a JSON object and the template references var.json, the dictionary is revealed in the Rendered Templates UI. This allows any user who can view the rendered templates to read sensitive data in cleartext, leading to information disclosure, a weakness identified as CWE-312.

Affected Systems

Affected deployments are Apache Airflow installations running any version prior to 3.3.1. The product is released by the Apache Software Foundation and version 3.3.1 and newer include a patch that masks nested Variable values regardless of type.

Risk and Exploitability

No CVSS or EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. The flaw is exploitable by users who have access to the rendered templates view, which is often granted to analysts or developers. Because the data is exposed in the UI and no authentication bypass is required, the practical risk is high in environments where users with wide permissions exist. No public exploits have been reported yet, but the lack of mitigation information suggests that insiders or compromised accounts could abuse it.

Generated by OpenCVE AI on August 12, 2026 at 23:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Airflow to version 3.3.1 or later, which masks nested Variable values regardless of type.
  • Restrict access to the Rendered Templates UI by implementing role‑based access control, ensuring only trusted users can view template outputs.
  • Audit secret variable usage and confirm that confidential information is stored and accessed only by privileged accounts, following best practice for secret management.

Generated by OpenCVE AI on August 12, 2026 at 23:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow

Wed, 12 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
References

Wed, 12 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
Description Apache Airflow's secrets masker did not mask `var.json` Variable values whose value is a dict in the Rendered Templates UI — the dict value failed an `isinstance(str)` guard — so a secret stored as a JSON Variable and referenced in a template via `var.json` was displayed in cleartext to any user with access to that task's Rendered Templates view. Users are advised to upgrade to apache-airflow 3.3.1 or later, which masks nested Variable values regardless of type.
Title Apache Airflow: Secrets masker: `var.json` Variable values not masked in the Rendered Templates UI
Weaknesses CWE-312
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-12T17:20:19.495Z

Reserved: 2026-07-04T00:20:30.244Z

Link: CVE-2026-59244

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-12T16:17:09.197

Modified: 2026-08-12T20:50:58.370

Link: CVE-2026-59244

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T23:45:03Z

Weaknesses
  • CWE-312

    Cleartext Storage of Sensitive Information