CVE-2025-65995: Apache Airflow: Disclosure of secrets to UI via kwargs
| Severity | Moderate |
|---|---|
| Affects | Apache Airflow |
| Weakness | CWE-209 Generation of Error Message Containing Sensitive Information |
| Published | February 21, 2026 |
| Record updated | November 3, 2026 |
| CVE record | CVE-2025-65995 on cve.org |
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.
Affected versions
| Product | Package | Versions |
|---|---|---|
| Apache Airflow | apache-airflow |
before 2.11.1 |
| Apache Airflow | apache-airflow-core |
from 3.0.0 before 3.1.4 |
Credits
- Frieder Gottman (Cariad) (finder)
- Jens Scheffler (Bosch) (reporter)
- Jens Scheffler (Bosch) (remediation developer)