6.5

CVE-2026-42360: Apache Airflow: Rendered template truncation bypasses nested sensitive-key masking

Analyzed
AliasesGHSA-cg3x-89rc-x9mwBIT-airflow-2026-42360PYSEC-2026-172
Published 01-06-2026Last modified 03-11-2026

Vulnerability summary

CVE-2026-42360 is a medium (CVSS 6.5) vulnerability in apache software foundation apache airflow. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 30.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.35%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 01-06-2026
    PublishedVulnerability first disclosed.
  2. 03-11-2026
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.35%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.35% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
Apache1 product
Apache software foundation1 product
PyPI1 product
  • apache-airflow< 3.2.2

4 vendors · 5 products

References

8 links