CVE-2026-42360Apache Airflow Exposure of Sensitive Information to an Unauthorized Actor
NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Vulnerability Summary
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 v3.1 Base Metrics — Score 6.5 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- Apache Airflow < 3.2.2
- Apache Software Foundation Apache Airflow < 3.0.0
- Apache Software Foundation Apache Airflow >= 3.0.0 and < 3.2.2
- Apache Airflow 3.2.2
- Apache Software Foundation Apache Airflow 3.0.0
- Apache Software Foundation Apache Airflow 3.2.2
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Apache Airflow and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Jun 1, 2026Published
- Nov 3, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Apache Airflow CVEsYou are reading CVE-2026-42360. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 25, 2026 15:40 UTC