Apache Airflowのインポートエラー APIで認可されていないスタックトレースが見える脆弱性
Summary
Apache Airflowの公開APIでインポートエラーを確認できる権限を持つユーザーが、本来見られないファイルのスタックトレースを読めてしまう脆弱性です。ファイルパスやコードが漏れるおそれがあります。3.4.0より前の版が対象で、3.4.0以降に修正版を適用してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Apache Airflowの公開APIでインポートエラーを確認できる権限を持つユーザーが、本来見られないファイルのスタックトレースを読めてしまう脆弱性です。ファイルパスやコードが漏れるおそれがあります。3.4.0より前の版が対象で、3.4.0以降に修正版を適用してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache Airflow |
< 3.4.0→ 3.4.0 |
3.4.0 |
Original description The description as published by the source.
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.
Source: oss-security (Openwall) NVD GitHub Advisory
References
- advisory lists.apache.org
- advisory nvd.nist.gov
- advisory github.com
- OSS-SECURITY CVE-2026-40913: Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC Enforcement
- patch github.com
- web openwall.com
- web github.com
- web pypi.python.org