MEDIUM 5.3 PyPI

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

GHSA-w7cf-2pmc-5m4c · BIT-airflow-2026-30912 · CVE-2026-30912 · PYSEC-2026-18 · PYSEC-2026-2361

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes