Advisory

PYSEC-2026-2361

Also known as: BIT-airflow-2026-30912, CVE-2026-30912, GHSA-w7cf-2pmc-5m4c, PYSEC-2026-18

Summary

Apache Airflow exposes SQL stack trace despite "api/expose_stack_traces" set to false

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2026-07-13 15:02 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

apache-airflow-core

PyPI · All systems

Affected

  • introduced 0, fixed 3.2.0 (ecosystem)

Fixed versions

3.2.0

Fix

  • Fixed version 3.2.0
    pip install --upgrade apache-airflow-core==3.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences