Apache Airflow: Disclosure of secrets to UI via kwargs
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-209.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Airflow | before 2.11.1 | 2.11.1 | Patch available | CNA |
| Apache | Apache Airflow | 3.0.0 to before 3.1.4 | 3.1.4 | Patch available | CNA |
| — | apache-airflow (PyPI) | before 2.11.1 | 2.11.1 | Patch available | GHSA-gfw7-2v73-69wg |
| — | apache-airflow (PyPI) | 3.0.0b1 to before 3.1.5rc1 | 3.1.5rc1 | Patch available | GHSA-gfw7-2v73-69wg |
- Apache Airflow VendorApache Affected before 2.11.1 Fixed in 2.11.1 Patch available CNA
- Apache Airflow VendorApache Affected 3.0.0 to before 3.1.4 Fixed in 3.1.4 Patch available CNA
- apache-airflow (PyPI) Vendor— Affected before 2.11.1 Fixed in 2.11.1 Patch available GHSA-gfw7-2v73-69wg
- apache-airflow (PyPI) Vendor— Affected 3.0.0b1 to before 3.1.5rc1 Fixed in 3.1.5rc1 Patch available GHSA-gfw7-2v73-69wg
Remediation
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 2.11.1
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.1.4
- Fix · GHSA-gfw7-2v73-69wg apache-airflow (PyPI) Fixed in 2.11.1 Advisory →
- Fix · GHSA-gfw7-2v73-69wg apache-airflow (PyPI) Fixed in 3.1.5rc1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-65995
- 2026-10-03 Alias added: GHSA-gfw7-2v73-69wg
- 2026-11-03 Fix available: [email protected] · CNA
References
Advisory 3
More Apache Airflow vulnerabilities
- TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
- TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
- TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
- TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
- TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
- TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
Sources
- CVE-2025-65995 · CVE Program
- CVE-2025-65995 · NVD
- FIRST EPSS
- GHSA-gfw7-2v73-69wg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences