# 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 ...

Advisory record · `GHSA-cg3x-89rc-x9mw`

- **Identifiers:** `GHSA-cg3x-89rc-x9mw` · `BIT-airflow-2026-42360` · `CVE-2026-42360` · `PYSEC-2026-172`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 1 Jun 2026
- **Updated:** 13 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 1 Jun 2026, 09:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `apache-airflow` (PyPI): affected `<3.2.2`; fixed in `3.2.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache Airflow (apache-airflow, PyPI) versions before 3.2.2 are affected. When a rendered template field is longer than the core max_templated_field_length setting and contains nested sensitive keys such as password, token, secret, or api_key inside a JSON structure, Airflow stores the value in plaintext in rendered_fields instead of masking it. An authenticated user who can read rendered template fields through the UI or API could obtain those secrets. Upgrade to apache-airflow 3.2.2 or later.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`, from OSV

- **CISA KEV:** Not listed.
- **EPSS:** 0.0035, the 28th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 Jun 2026, 07:50 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-42360)
- 1 Jun 2026, 09:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-42360)
- 31 Oct 2026, 14:43 UTC: First seen by agentprime
- 31 Oct 2026, 14:43 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/PYSEC-2026-172)

## Sources

- [GitHub Advisory Database: GHSA-cg3x-89rc-x9mw](https://github.com/advisories/GHSA-cg3x-89rc-x9mw)
- [OSV: GHSA-cg3x-89rc-x9mw](https://osv.dev/vulnerability/GHSA-cg3x-89rc-x9mw)
- <https://lists.apache.org/thread/obj79bpxnl7r5olz1gsn0g94y88glnl4>
- <https://github.com/apache/airflow/pull/65906>
- <https://github.com/advisories/GHSA-cg3x-89rc-x9mw>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-cg3x-89rc-x9mw>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-cg3x-89rc-x9mw/>. Everything for agents: <https://agentprime.io/llms.txt>.
