Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40913— Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC Enforcement

Quick assessment

Affected
Apache Software Foundation Apache Airflow
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Apache Airflow 的公开“导入错误”(Import Errors)API 在遇到未注册 DAG 的文件解析失败时,会向任何拥有 权限的用户返回原始的解析失败堆栈跟踪。这种情况发生在文件在定义任何 DAG 之前解析失败,或者该文件此前注册的所有 DAG 已被移除但解析错误仍然存在时。本不应查看该文件详情的用户,可能通过读取堆栈跟踪获取文件路径和代码等敏感信息。 建议用户升级至 Apache Airflow 3.4.0 或更高版本。该版本通过引入新的 权限,将此类堆栈跟踪的访问权限限制为仅授予拥有该特定权限

Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40913

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC Enforcement
Source: CVE Program / CVE List V5
Vulnerability Description
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: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Apache Software Foundation Apache Airflow 0 ~ 3.4.0 -

II. Public POCs for CVE-2026-40913

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40913

请登录查看更多情报信息。

Other References for CVE-2026-40913 (2)

Same Patch Batch · Apache Software Foundation · 2026-11-09 · 28 CVEs total

CVE-2026-86829 Apache Airflow: Deserialization of task-controlled XCom values in the Scheduler during dep
CVE-2026-111455 Apache Airflow: Connections API: async connection test authorizes create at enqueue but ov
CVE-2026-111454 Apache Airflow: API: asset endpoints return scheduled/producing/consuming Dag IDs the call
CVE-2026-111453 Apache Airflow: API: asset queuedEvents DELETE checks Dag edit on a ?dag_id query value bu
CVE-2026-111452 Apache Airflow: Secrets masker: camelCase key names (privateKey, connectionString, webhook
CVE-2026-111421 Apache Airflow: Execution API: set_xcom skips the reserved-key check, so task-written XCom
CVE-2026-111395 Apache Airflow: Reserved serialization keys in Dag run conf crash the scheduler or are reb
CVE-2026-107474 Apache Airflow: Connections API: apprise connection "config" extra returned in cleartext
CVE-2026-113504 Apache Airflow: Secrets masker: pattern-based masking bounded at depth 5 returns deeply-ne
CVE-2026-101031 Apache Airflow: Shell command injection in the example_dag_decorator example Dag via an IP
CVE-2026-113508 Apache Airflow: Logout token revocation fails open; errors silently swallowed
CVE-2026-96285 Apache Airflow: Scheduler: next_kwargs deserialized before the dict check, so resume data
CVE-2026-86468 Apache Airflow: CLI argv masking misses Variable values and --conn-extra, persisting secre
CVE-2026-82337 Apache Airflow: DeadlineAlert fields bypass plugin-registration gate for scheduler-side de
CVE-2026-120367 Apache Axis2/Java: unbounded JSON request body buffering
CVE-2026-76185 Apache Airflow Task SDK: Task SDK SecretCache: non-injective team cache key enables cross-
CVE-2026-68982 Apache Airflow: CeleryExecutor: forged callback workloads run on Celery workers without wo
CVE-2026-50204 Apache Airflow: Audit-log secrets masker redacts by key name only, persisting connection a
CVE-2026-82440 Apache Storm Nimbus: Submitter-Controlled Class Instantiation in Nimbus via a Fail-Open Sc
CVE-2026-82436 Apache Storm Client: Deserialization of Untrusted Data from the State Store

Showing top 20 of 28 CVEs. View all on vendor page → →

IV. Related Vulnerabilities