Shellfeed logo Shellfeed

CVE-2026-40913 · HIGH (CVSS 8.2)

Summary: Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC Enforcement

EPSS: 0.4% probability of exploitation in the next 30 days (percentile 36.2).

Details

Apache Airflow's public Import Errors API returns the raw parse-failure stack trace to any user with the `ImportError.can_read` permission when the failing file has no registered DAG. This happens when a file fails to parse before any DAG is defined, or when all of its previously registered DAGs are removed but the parse error remains. Users who should not see that file's details can read stack traces that may expose file paths and code.

Users are advised to upgrade to Apache Airflow 3.4.0 or later, which restricts these stack traces to users with the new `IMPORT_ERRORS_ALL` permission.

Severity

HIGH (CVSS 8.2) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L

Affected packages

  • GIT github.com/apache/airflow [0 – c077d190609f931387c1fcd7b8cc34f12e2372b9]

References

Posts about CVE-2026-40913