---
id: CVE-2026-68970
title: >-
  Apache Airflow's Task SDK did not mask the contents of a Variable whose JSON
  value is a list, so secrets stored in that shape appeared in cleartext in task
  logs and in the Rendered Templates UI
summary: >-
  Apache Airflow's Task SDK did not mask the contents of a Variable whose JSON
  value is a list, so secrets stored in that shape appeared in cleartext in task
  logs and in the Rendered Templates UI. Masking was applied only when the
  deserial…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-312
vendor: apache
product: airflow
affected:
  - airflow < 3.3.1
patched:
  - airflow 3.3.1
published: '2026-08-12'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T15:17:42.253'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-68970'
references:
  - url: 'https://github.com/apache/airflow/pull/70891'
    label: security@apache.org
  - url: 'https://lists.apache.org/thread/kkrlnbsk47oght4h38mcd3h2kcb8dt28'
    label: security@apache.org
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-59244'
    label: security@apache.org
tags:
  - nvd
  - cve.org
  - osv
  - pip
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-08-12T19:00:36.231697Z'
epss: 0.0039
epssPercentile: 0.3024
aliases:
  - PYSEC-2026-3712
  - BIT-airflow-2026-68970
ecosystem: pip
ingestedAt: '2026-08-19T19:22:21.536Z'
---

## Overview

Apache Airflow's Task SDK did not mask the contents of a Variable whose JSON value is a list, so secrets stored in that shape appeared in cleartext in task logs and in the Rendered Templates UI. Masking was applied only when the deserialized value was a string or a dict; a list at the top level matched neither and was returned unmasked. Any authenticated user able to read the logs or rendered templates of a task that references such a Variable could recover the values, with no special configuration required. This is the list-shaped counterpart of CVE-2026-59244, whose fix covered the dict case only, so deployments that upgraded in response to that advisory remain affected and must upgrade again. Users are advised to upgrade to apache-airflow 3.3.1 or later.

## Affected

- `airflow < 3.3.1`

## Remediation

Upgrade past the affected range:

- `airflow 3.3.1`

## Package advisory (CVE-2026-68970)

Affected packages:

- `apache-airflow < 3.3.1`

Patched in:

- `apache-airflow 3.3.1`

Source: https://osv.dev/vulnerability/PYSEC-2026-3712
