{"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.0023,"epssPercentile":0.14033,"aliases":["PYSEC-2026-3712","BIT-airflow-2026-68970"],"ecosystem":"pip","ingestedAt":"2026-08-19T19:22:21.536Z","slug":"CVE-2026-68970","body":"## Overview\n\nApache 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.\n\n## Affected\n\n- `airflow < 3.3.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `airflow 3.3.1`\n\n## Package advisory (CVE-2026-68970)\n\nAffected packages:\n\n- `apache-airflow < 3.3.1`\n\nPatched in:\n\n- `apache-airflow 3.3.1`\n\nSource: https://osv.dev/vulnerability/PYSEC-2026-3712","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}