CVE-2026-59244

Apache Airflow: Secrets masker: `var.json` Variable values not masked in the Rendered Templates UI

Published Aug 12, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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

The CVSS score of 6.5 indicates moderate severity, and the EPSS score is <1%, implying a low probability of exploitation. 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.

Remediation

No solution or workaround provided in the CVE record.

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 14, 2026 at 19:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f643-3rc2-j27w Apache Airflow exposes dict-valued var.json secrets in Rendered Templates
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
CPEs cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
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
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow
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
Weaknesses
  • CWE-312

    Cleartext Storage of Sensitive Information

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 3, 2026, 6:58 AM
Reserved
Jul 4, 2026, 12:20 AM
Status
Modified
Published
Aug 12, 2026, 4:17 PM
Modified
Nov 3, 2026, 7:20 AM