Apache Airflow: Exposing stack trace in case of constraint error
Key facts
- Attack vector
- Network
- Privileges required
- None
- 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-668 and the CVSS impact.
Summary
In case of SQL errors, exception/stack trace of errors was exposed in API even if "api/expose_stack_traces" was set to false. That could lead to exposing additional information to potential attacker. Users are recommended to upgrade to Apache Airflow 3.2.0, which fixes the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.0.0
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.2.0
- Fix · GHSA-w7cf-2pmc-5m4c apache-airflow-core (PyPI) Fixed in 3.2.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Airflow 3.2.0
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-23727 Apache Airflow: Bad example of BashOperator shell injection via dag_run.confPriority MEDIUM 41
- TI-2026-24758 Apache Airflow: Users with asset materialization permisssions could trigger Dags they had no access toPriority LOW 39
- TI-2026-20948 Apache Airflow: API extra-links triggers XCom deserialization/class instantiation (Airflow 3.1.5)Priority LOW 35
- Release ·
Apache Airflow 3.0.0
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-23727 Apache Airflow: Bad example of BashOperator shell injection via dag_run.confPriority MEDIUM 41
- TI-2026-20948 Apache Airflow: API extra-links triggers XCom deserialization/class instantiation (Airflow 3.1.5)Priority LOW 35
Timeline
- 2026-10-02 Threatist record created from CVE-2026-30912
- 2026-10-03 Alias added: GHSA-w7cf-2pmc-5m4c
- 2026-10-25 EPSS moved to the below the 50th percentile
- 2026-10-25 Priority changed: MEDIUM → LOW
- 2026-11-03 Fix available: [email protected], [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-2026-30912 · CVE Program
- CVE-2026-30912 · NVD
- FIRST EPSS
- GHSA-w7cf-2pmc-5m4c · 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