{"cve":"CVE-2026-42360","nvd":{"published":"2026-06-01T09:16:19.033","modified":"2026-07-21T19:10:00.107","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-200"],"references":["https://github.com/apache/airflow/pull/65906","https://lists.apache.org/thread/obj79bpxnl7r5olz1gsn0g94y88glnl4"],"products":["apache:airflow"],"source":"nvd","synced_at":"2026-10-19T22:37:48.043517290+00:00"},"epss":{"cve":"CVE-2026-42360","score":0.00348,"percentile":0.28414,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cg3x-89rc-x9mw","url":"https://osv.dev/vulnerability/GHSA-cg3x-89rc-x9mw","summary":"Apache Airflow vulnerable to Exposure of Sensitive Information to an Unauthorized Actor","modified":"2026-07-09T21:26:14.032221133Z","packages":[{"ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":["<3.2.2"],"fixed":["3.2.2"]}]},{"id":"PYSEC-2026-172","url":"https://osv.dev/vulnerability/PYSEC-2026-172","summary":"","modified":"2026-07-13T16:45:08.061410965Z","packages":[{"ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":["<3.2.2"],"fixed":["3.2.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}