CVE-2026-59244: Apache Airflow secrets exposure in Rendered Templates UI

CVE-2026-59244 · Severity: medium · CVSS 6.5 · Published 2026-08-12

Apache Airflow is a popular workflow orchestration platform used to schedule and monitor data pipelines. A flaw in the secrets masking system allows sensitive JSON variable values to be displayed in cleartext in the Rendered Templates view when accessed by users with task view permissions, potentially exposing credentials and API keys used in pipelines.

Technologies: Apache Airflow, apache-airflow (PyPI). Vendors: Apache, PyPI.

Quick answers

Is CVE-2026-59244 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-59244 being exploited in the wild.
How severe is CVE-2026-59244?
Medium severity, with a CVSS score of 6.5, published 12 August 2026.
Which products and versions are affected?
Apache Airflow before 3.3.1; apache-airflow (PyPI) < 3.3.1, ECOSYSTEM:introduced=0,fixed=3.3.1.
Is there a fix for CVE-2026-59244?
Yes. apache-airflow (PyPI): upgrade to 3.3.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-59244 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-59244?
Check whether you run Apache Airflow or apache-airflow (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • apache-airflow (PyPI): upgrade to 3.3.1 or later
    pip install "apache-airflow>=3.3.1"

Technical details

The vulnerability exists in Apache Airflow's secrets masker component within the Rendered Templates UI. When a Variable is stored as a JSON dictionary and referenced via `var.json` in a task template, the masking logic fails due to an `isinstance(str)` type guard that only masks string values, allowing nested dict values to bypass protection. An authenticated user with access to view a task's Rendered Templates can see the plaintext secret, including credentials and sensitive configuration data. The fix, available in Airflow 3.3.1 and later, masks nested Variable values regardless of their type.

Affected products

  • Apache Airflow before 3.3.1

Identifiers

  • CVE-2026-59244
  • BIT-AIRFLOW-2026-59244
  • GHSA-f643-3rc2-j27w
  • PYSEC-2026-3706

Timeline

  • 2026-08-12: disclosed
  • 2026-08-12: patched: Fix available in Apache Airflow 3.3.1

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.