{"id":"CVE-2026-42360","published":"2026-06-01T07:50:37Z","modified":"2026-11-03T06:56:21Z","title":"Apache Airflow: Rendered template truncation bypasses nested sensitive-key masking","vendor":"Apache","product":"Apache Airflow","tier":"tail","description":{"text":"A bug in Apache Airflow's rendered-template field handling caused nested sensitive-key masking (e.g. nested `password` / `token` / `secret` / `api_key` keys inside a JSON template structure) to be bypassed when the rendered field exceeded `[core] max_templated_field_length`: Airflow stringified the structure before redaction, losing the nested key context, and persisted the plaintext value into `rendered_fields`. An authenticated UI/API user with permission to read rendered template fields could harvest secret values intended to be masked. Affects deployments where Dag authors pass structured JSON to operators with nested sensitive keys. This is a variant of `CWE-200` previously addressed for the user-registered `mask_secret()` patterns in CVE-2025-68438; that fix did not cover the nested sensitive-keyword allowlist. Users who already upgraded for CVE-2025-68438 should additionally upgrade to `apache-airflow` 3.2.2 or later to cover the nested-key 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.00348,"percentile":0.29146,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/apache/airflow/pull/65906","tags":["patch"]},{"url":"https://lists.apache.org/thread/obj79bpxnl7r5olz1gsn0g94y88glnl4","tags":["vendor-advisory"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":5.83},{"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-01T13:55:15.495937Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow","vulnerableRanges":["<3.2.2"],"patched":["3.2.2"],"from":["GHSA-cg3x-89rc-x9mw","PYSEC-2026-172"],"provenance":"source"}],"summary":{"text":"Apache Airflow's rendered-template handling fails to mask sensitive keys (such as password, token, secret, or api_key) nested inside JSON template structures once a rendered field exceeds the configured max_templated_field_length, causing plaintext values to be stored in rendered_fields. An authenticated user who has permission to read rendered template fields over the network, with no user interaction required, can retrieve these unmasked secret values, provided the deployment passes structured JSON with nested sensitive keys to operators.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:08Z"},"euvd":{"id":"EUVD-2026-33590","exploited":false,"provenance":"source"}}