CVE-2026-42360: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in Apache Software Foundation Apache Airflow
CVE-2026-42360 is a medium severity vulnerability in Apache Airflow affecting versions prior to 3.2.2. It involves exposure of sensitive information due to improper masking of nested sensitive keys (such as password, token, secret, api_key) in rendered JSON templates when the rendered field length exceeds a configured limit. Authenticated users with permission to read rendered template fields could access plaintext secret values that should have been masked. This issue is a variant of a previously addressed vulnerability (CVE-2025-68438) but affects nested key paths. Users should upgrade to Apache Airflow 3.2.2 or later to remediate this issue.
AI Analysis
Technical Summary
Apache Airflow versions before 3.2.2 contain a vulnerability where nested sensitive keys inside JSON template structures are not properly masked if the rendered template field exceeds the '[core] max_templated_field_length' setting. The system stringifies the structure before redaction, losing the context of nested keys and resulting in plaintext sensitive data being stored in 'rendered_fields'. An authenticated user with read access to rendered template fields can retrieve these secret values. This vulnerability is a variant of CWE-200 and related to a prior fix for user-registered mask_secret() patterns (CVE-2025-68438) that did not cover nested sensitive keys. The fix is included starting in Apache Airflow 3.2.2.
Potential Impact
Sensitive information such as passwords, tokens, secrets, and API keys nested within JSON templates may be exposed in plaintext to authenticated users with permission to read rendered template fields. This could lead to unauthorized disclosure of credentials or secrets, potentially compromising confidentiality. The vulnerability does not affect integrity or availability. Exploitation requires authenticated access with specific permissions.
Mitigation Recommendations
Upgrade Apache Airflow to version 3.2.2 or later. This version includes fixes that properly mask nested sensitive keys in rendered template fields, preventing exposure of plaintext secrets. Users who have already upgraded for CVE-2025-68438 should still apply this update to cover nested key paths. No other specific mitigations are indicated.
CVE-2026-42360: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in Apache Software Foundation Apache Airflow
Description
CVE-2026-42360 is a medium severity vulnerability in Apache Airflow affecting versions prior to 3.2.2. It involves exposure of sensitive information due to improper masking of nested sensitive keys (such as password, token, secret, api_key) in rendered JSON templates when the rendered field length exceeds a configured limit. Authenticated users with permission to read rendered template fields could access plaintext secret values that should have been masked. This issue is a variant of a previously addressed vulnerability (CVE-2025-68438) but affects nested key paths. Users should upgrade to Apache Airflow 3.2.2 or later to remediate this issue.
CVSS v3.1
Score 6.5medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache Airflow versions before 3.2.2 contain a vulnerability where nested sensitive keys inside JSON template structures are not properly masked if the rendered template field exceeds the '[core] max_templated_field_length' setting. The system stringifies the structure before redaction, losing the context of nested keys and resulting in plaintext sensitive data being stored in 'rendered_fields'. An authenticated user with read access to rendered template fields can retrieve these secret values. This vulnerability is a variant of CWE-200 and related to a prior fix for user-registered mask_secret() patterns (CVE-2025-68438) that did not cover nested sensitive keys. The fix is included starting in Apache Airflow 3.2.2.
Potential Impact
Sensitive information such as passwords, tokens, secrets, and API keys nested within JSON templates may be exposed in plaintext to authenticated users with permission to read rendered template fields. This could lead to unauthorized disclosure of credentials or secrets, potentially compromising confidentiality. The vulnerability does not affect integrity or availability. Exploitation requires authenticated access with specific permissions.
Mitigation Recommendations
Upgrade Apache Airflow to version 3.2.2 or later. This version includes fixes that properly mask nested sensitive keys in rendered template fields, preventing exposure of plaintext secrets. Users who have already upgraded for CVE-2025-68438 should still apply this update to cover nested key paths. No other specific mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-26T19:48:31.553Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d4e75e29bf47b50cd49fa
Added to database: 06/01/2026, 09:18:45 UTC
Last enriched: 07/10/2026, 09:54:30 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.