{"id":"CVE-2026-42358","published":"2026-06-01T07:49:57Z","modified":"2026-11-03T06:56:09Z","title":"Apache Airflow: Variable masker depth-limit bypass returns cleartext nested secrets","vendor":"Apache","product":"Apache Airflow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00523,"percentile":0.37761,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/apache/airflow/pull/65912","tags":["patch"]},{"url":"https://lists.apache.org/thread/33635mv3zjb75wn5453c5yf9trs8x2om","tags":["vendor-advisory"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":7.55},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":["< 3.0.0"]},{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[">= 3.0.0, < 3.2.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-02T16:04:11.831017Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow","vulnerableRanges":["<3.2.2"],"patched":["3.2.2"],"from":["GHSA-33g2-gx67-c2h3","PYSEC-2026-2343"],"provenance":"source"}],"summary":{"text":"The flaw is in Apache Airflow's Variable response masker, where redaction of values under sensitive key names such as password, token, secret or api_key is skipped once a JSON value is nested deeper than the shared secrets masker's recursion limit, so secrets stored that deep come back in cleartext. An attacker needs only an authenticated UI or API account with Variable read permission on a network-reachable deployment that stores sensitive values inside deeply nested JSON Variables, and no user interaction or non-default configuration is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:45Z"},"euvd":{"id":"EUVD-2026-33589","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-airflow-cve-2026-42358","children":[{"from":"CVE-2026-42358","to":"CVE-2026-54183","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This is an incomplete-fix follow-up to CVE-2026-42358, whose fix made only the dictionary walk unbounded; lists, tuples, and sets beyond the depth limit remained unmasked in the UI.","from":"CVE.org","in":"CVE-2026-54183"},{"kind":"osv-related","provenance":"source","id":"GHSA-g4qj-5vxv-wggf","via":"reference","url":"https://www.cve.org/CVERecord?id=CVE-2026-42358"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-3705","via":"reference","url":"https://www.cve.org/CVERecord?id=CVE-2026-42358"},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + CWE + description similarity"}]}]}}