All vulnerabilities

Servers and applications

CVE-2026-42358

Apache Airflow: Variable masker depth-limit bypass returns cleartext nested secrets

Severity
Medium 6.5
Published
1 Jun 2026
Last changed
3 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.0.0, 3.2.2
Exploit chance
0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Information exposure (CWE-200)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Sources
NVD, CVE Program

Description

A bug in Apache Airflow's Variable response masker caused nested-key redaction (triggered by secret-suffixed key names like password, token, secret, api_key) to be bypassed when the JSON value's nesting depth exceeded the shared secrets masker's recursion limit: the masker returned the original nested item before checking the sensitive key name. An authenticated UI/API user with Variable read permission could harvest plaintext secret values stored under sensitive keys nested deep enough to exceed the masker's depth cap. Affects deployments that store sensitive values inside deeply-nested JSON Variables. This is a residual gap in the fix for CVE-2026-32690 (which covered shallower nesting via max_depth=1); the depth-limit boundary itself was not raised, so the same key-name bypass pattern reappears beyond the recursion cap. Users who already upgraded for CVE-2026-32690 should additionally upgrade to apache-airflow 3.2.2 or later to cover the deep-nesting path.

From the CVE Program.

Affected software

SoftwareAffected versions
Apache AirflowServers and applications · cna:apache software foundation|apache airflow
  • Every version before 3.0.0
  • From 3.0.0 before 3.2.2
Apache AirflowServers and applications · cpe:a:apache:airflow
  • Every version before 3.2.2

About Apache Airflow

open-source workflow management platform written in Python, where workflows are created via Python scripts

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
1,437,607PyPI Stats, 15 Nov 2026
Docker Hub pulls
1,734,204,390Docker Hub, 15 Nov 2026
GitHub stars
47,481GitHub, 15 Nov 2026
Forks
18,360GitHub, 15 Nov 2026
Latest release
3.4.0GitHub, 15 Nov 2026
Released
6 Nov 2026GitHub
Developer
Apache Software FoundationWikidata
License
Apache Software License 2.0, Apache LicenseWikidata
Written in
PythonWikidata
First published on GitHub
13 Apr 2015GitHub

Release lines

ReleaseLatestSecurity fixes
3.43.4.0Yes
3.33.3.2Ended 7 Nov 2026
3.23.2.2Ended 6 Jul 2026
3.13.1.8Ended 7 Apr 2026
3.03.0.6Ended 25 Sept 2025
22.11.2Ended 22 Apr 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-42358
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-42358